Are you joking? I was first hired as a software dev at age 57.
People over age 40 have a secret superpower. It's called "attention span"
Find out what industries and dev stacks are prevalent in your area. Work the meet-ups: show up, knock back a few beers, ask questions, find out who's doing what. Consider getting up to speed on an alternate dev stack, if need be.
Another secret: 80% of hires are done end-run around HR. If they want you, they'll pull you through whatever process HR throws at them.