I bought this one for less than $40, Mazda Keyless Entry Remote 4-Button... https://www.amazon.com/dp/B01MUC6AKS?ref=yo_pop_ma_swf It worked perfectly. FYI. Bring all key fobs with you to get them programed. I know that the 2017 Mazda6 can have a maximum of 4 keys programed at one time. My dealer charged me 125$ for programing the key and cutting it. It was done at the same time as a service check.
Worth a shot to try finding a key fob online somewhere. Ebay, Amazon, Etc. Then take the car to a locksmith and tell them to re-sync the newly bought key fob to your car. My wife did this and the locksmith charged like $90 or something, still cheaper than dealer, right?
It is a genetic keyfob with a physical key inside. It looks identical to the OEM and they had no problem programming it. You should bring all copies with you to have the fobs and car programed.
Yes. The link at Amazon USA.
Mazda Keyless Entry Remote... https://www.amazon.com/dp/B01MUC6AKS?ref=ppx_pop_mob_ap_share