Car to keep for 20 years

Hi! My current car is a 1998 and I am thinking of buying a new-to-me car, but I want one that will stand the test of time (and eastern Ontario weather). I am thinking of a Lexus UX 250h because it is a hybrid and not too big. There are 8 available in my area at the moment. I have two main concerns: will it last for 20 years without necessitating $$$ and how to negotiate a decent deal. I am also worried about getting a more complicated vehicle, as there are potentially more things to go wrong. I am open to other cars, but am limited in width by a narrow garage.

I can wait, but should replace the tires on my current car.

Any suggestions?