it sounds like you should apply for an experienced hire role in your companies area eg pharma, health, science etc.
although there is no official limit, MBB most definitely like younger people for their roles and those either at school or just out of B school.
Firms generally assess candidates at their capacity level, so if you’re 38 you should have done ALOT compared to someone at B school who has already exited a start up (not uncommon).
this is why you should play to your strengths and try to advise in areas where you have deep knowledge.
chat to HR if you can and they will guide you, too.