Prior to purchasing the vehicle would have been the ideal time to accomplish this. Expensive European vehicles often undergo what is known as a Pre-Purchase Inspection. Having the software updated, recalls and service bulletins executed, oil changed, etc., might be arranged at this stage by contacting a Mazda dealer. They should be able to tell you whether the vehicle has been recalled or serviced in accordance with service bulletins, though I'm not sure if they can provide you with any history on the vehicle.