Personally, I eat a lot and I find it helps. I also do short quick exercises when I feel myself get tired like squats,pushups, and pullups under the table.
If you need energy asap, maybe consider coffee or an energy drink like Celsius, but be careful it's dangerous.