Corrected mysql query for lastMatchTime