There is a TON of info on here about these cars.
A good place to start is the post by t3ase in the Mazdaspeed Lounge/Welcome area titled "Common Problems and Fixes".
Ask the owner about any factory services it has had. These cars, as cool as they are, have a few character flaws that the dealer...