Do not get q 5a. Try to get a 6a if you're going for an older Pixel. It's actually smaller than the 5a, IIRC and you'd be getting an actual (and quite robust) upgrade in a 6a with the 1st gen Tensor. That is a big deal. Google updgraded the janky fingerprint sensor from 6 and 6Pro for the 6a, to boot.
The 5a would save you a few Andrew Jackson's (is he still on the $20? I only have $1s, myself) but it's worth it to go 6a. With a 6a, you'll have security updates thru Summer of '27.