Eating before a workout - Optimal Time

My anecdotal experience; if I eat 1.5 hours prior, I feel significantly worse than if I wait 2 hours. I do many workouts with 5 hours of separation, but I have to be ready with the fuel at the start of the workout