I’ve lived in flats in glasgow, mostly tenements, and never had a rodent issue. If you’re particularly concerned then maybe go for a newer building, avoid any places with plants creeping up the walls (pretty, but a rodent ladder sadly) and avoid somewhere with messy gardens. You should be fine OP, but those extra caveats might put your mind more at ease.