I also get a lot of mental clarity and alertness after extended periods of not eating, followed by tiredness and fogginess after a meal. This might be one reason why I'm underweight.
Unfortunately, a keto diet isn't really an option for me (vegetarian, and allergic to many vegetarian protein sources).
I wonder what the underlying science behind it is.