Mining profits are affected by market prices and mining difficulty. The investment payback period depends on the selling price of your cryptocurrency. Selling at a higher price can shorten the payback period accordingly.