Well, first, I have to say that it is possible to have painful eyes when you eat too much sugar. Also, you need know that eating sugar may also cause burning eyes in some degree. So that can be a normal situation. To relieve your pain in the eyes, first, you should stop eating sugar. And then you can put some cool ice or cool cucumbers on your eyes to have some cold compresses, and then, just repeat them. Also, a diet rich in fresh fruits and vegetables which provide lots of antioxidants, especially vitamins A and C can be a good option. Anyway, you can just have a try.
It is abnormal. Your eyes may get the eyes infection. That is why you feel hurt at the eyes. You could use some eye drops to release the symptom. You could also use the warm compress to make the eyes feel comfortable. In addition, you should eat less sugar as before which will cause your eye pressure to get high.