Just bought this car. Does my car have separate keys for trunk, ignition and passenger side door?
How would anyone here know that . You are with the vehicle did you not get keys with it. I doubt if there is a regular member here that has a 1999 Mazda . Try a Mazda forum.
For a 1999 it could have separate keys.
Some previous owner may have had a bad lock in one door and replaced only that lock cylinder.
Then a few years later and the trunk lock may have failed.
Yosemite
My 98 Mazda had one key for the ignition, doors, and trunk.
Tester