I can vouch that an aftermarket chipped key will work for a Mirage with a key ignition. I posted the message below back in July of 2020. You buy a key for under $10 with free shipping. It may cost a few bucks to have a hardware store cut it for you.
Ironically, two-years later I can answer my own question with a "yes".
The blank key with chip cost $11.55 with tax (free shipping). My local ACE Hardware charges $2.29 to cut a double-sided key ($2.42 with tax). An extra chip coded key for $13.97 is not bad. If I lose one now, I will have two keys to make a new replacement.
https://www.ebay.com/itm/28528267883...Bk9SR4asgoHbYg
No tools were necessary to code a third key for my 2017 Mirage.
1. Turn your ignition on with the first key (for about 5 seconds), & then turn off and remove.
2. After removing the 1st key, turn on the ignition with your 2nd key. In less than 10 seconds, the immobilizer indicator (multi-information display) will start to blink. Now turn off & remove your 2nd key.
3. You have 30 seconds to insert your new blank key. Turn on the ignition with the new blank key, & it will be automatically programmed to the car. It took less than 5 seconds to program itself, & the new third key starts the car without issue!