A lot of these are north of $50k
For me, in the 30-50k range, you couldn't beat the final year of the BMW 340i - 2018, M-Sport trim level.
If you asked me today, and price wasn't capped, I'd opt for a 2023 M340i. The G20's incredibly easy to live with for the long term.