Moto G54 should be good enough. Its major con is 1 OS upgrade but good otherwise for the price. M34 will provide 4 OS upgrades & AMOLED but a bit weaker SoC paired with a heavier UI is a not combination for years to come (One UI has been well optimised in the last few years, so time will tell how M34 fares after 2-3 years).
I have a preference for One UI over anything else android has to offer (even Pixel) but I use 30k+ phones with non-Samsung fab SoCs & that is what I recommend if suggesting to others. Sadly between M34 & S23, I don't recommend any other Samsung phone. M34 is cheap & weak enough to ignore its exynos issue.
Most of the phones from each manufacturer around 15k are the same, they only ship with different UI. So it doesn't really matter which phone you're going with. For something with 5G, Poco M6 Pro or Samsung M14/F14 is more than enough. M6 Pro's size can be a con though. G54 has OIS, not a big deal if you're not much into videography.
5g band support shouldn't be a problem, I think carriers use 7-8 bands and all 5G phones support them.