The hardest part I’ve found being over 40 is mustering the will to prove value. The older I get, the more time I have to spend rebuilding reputation whenever I enter a new company.
I think the best advice I can give is find a company you won’t mind being at in 5-8 years so you can really learn how things are done there and can affect change.