When I eat carbs, most of my day is either "I'm so hungry I can't think", or "I just ate, food coma", and I'm only alert and maximally productive for the brief time after the food coma wears off and before I get hungry again. With keto, hunger and fullness are less distracting feelings that don't impact my attention as much.