I’d also say at that age, condition and mileage would be more important. I had a choice of two very clean cars. One was a 2009 with leather seats, dvd screen in rear, big alloys, body kit, etc., and a plain, boring looking 2006 one on 17 inch tyres. However, that one had 30k miles and was an auction grade 5/a, so I chose that one.
Quite a few threads on other sites about reliability of the 2gr fe 3.5 v6. Consensus seems to be they’ll do a couple hundred thousand miles no bother, as long as it is maintained. Many recommend changing the oil every 5-6 thousand miles to ensure longevity.