Good question. I assume the factory warranty is still good (you have 6k left on b2b), just be carefull of that cobb. Some places will not warrant work with aftermarket stuff. And its a shame if you have to go through a big mess trying to prove to them that your aftermaket part had nothing to do with whatwver part you're trying to get fixed
Unfortunately, the biggest single killer of this car/engine seems to come from improper tunes. And there is virtually no way, as a consumer, that you can find out if your car has been tuned. Not to say its impossible to find out, but in order to you would have to have either a mazda scantool, do some sleuth-work to find out the original owner was and what they did to it, or find a tuning shop and see what they say
As for getting rid of the car because they suspect something would have gone wrong, that's tough to determine. Since an engine failure can be so quickly catostrophic, its almost impossible to tell if its going to happen. Parts can become stressed, but until they actually break you won't know they are bad at all. Kind of like a car battery: you never know when its going to die until it does
I can only speak from personal view and experience, but in my mind I will never purchase a used car again. That is, unless, I have full expectation of fixing that car the way I want to
Like if I were to get a used car now, it would be a miata that I would fully expect to modify into a monster miata with a V8. I would never get rid of my ms3 in order to get a used pontiac sunfire because I want to save money and get good gas mileage. I would expect to pay more in maintenance because its not brand new and I don't trust any previous owner to have upkept it in any way
Sorry to make it sound so bleak