Yes, the same scenario applies 22 years later. Unless that Toyota dealer invested a universal key fob programming machine which I doubt most dealers will do, those Toyota techs won’t know anything about programming a Mazda key fob without proper computer and instruction.
And our 2000 BMW 528i is still our backup car with many nice features even the latest CX-5 Signature doesn’t have. This’s what I do, keeping a car for as long as I can, Did I mention we still have a 1998 Honda CR-V with 176K miles running great? We even drove that 20+ years old CR-V from Dallas to San Jose 3 years ago, that’s how confident I have towards that CR-V, the most reliable vehicle we’ve ever owned!