I get this kind of thing when I (very rarely) get a migraine. Interestingly, it comes on like 20min before the terrible crushing headache begins.
That said, now that I've found a drug that works extremely well for me, I can often recover in less than an hour and continue my day with only something like a mild hangover. If you haven't already, definitely talk to a doctor and look into migraine-specific medication. They work like magic and the new stuff actually seems pretty safe. I never leave home without an emergency pill in my wallet.