Mekies opens up on "painful" moment in Madrd race