This cohort study found that healthier diets and lower WHR (waist to hip ratio) throughout midlife were associated with better brain and cognitive health in older age.
https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2831324
The ideal WHR for health is 0.7. Read about it here: