Ageism is as real as any other prejudice. And unfortunately it's just a difficult to prove. I've seen the faces of the room full of "kids" (yea, that's reverse ageism I suppose) when doing remote interviews and watched them drop as soon as I appear on the screen.
Then it's just a matter of speeding me through the interview until they can find the candidate with the "right team dynamic" or "culture fit" etc. The excuses I've heard are quite amusing, but transparent.
I would simply ask upfront if they’re open to hiring over 40 and/or hiring with a disability (and then mention I’m not litigious and simply don’t want waste their time if they aren’t looking for that, no hard feelings). I actually had a few places admit they are not going to hire over 40 + a disability after I made it clear I have no intentions to sue.