SELECT *
FROM london_stages
WHERE eventid IN (40075, 40077, 40079, 40081, 40083, 40085, 40087, 40095, 40097, 40101, 40103, 40105, 40109, 40112, 40114, 40116, 40118, 40130, 40132, 40154, 40158, 40160, 40165, 40170, 40263, 40408, 40413, 40564, 40658, 40703, 42974, 42977, 42979, 42982, 42986, 42988, 42991, 42997, 43001, 43006, 43050, 43054, 43059, 43086, 43154, 43157, 43162, 43166, 43169, 43171, 43179, 43185, 43207, 43216, 43246, 43262, 43267, 43271, 43276, 43284, 43287, 43295, 43299, 43487, 43491, 43788, 43814, 44368, 44924, 44945, 44958, 45010, 45576, 46106, 48320, 48322, 48358, 48366, 48368, 48583, 52286, 52289, 52291, 52294, 52296, 52298, 52300, 52303, 52305, 52308, 52310, 52312, 52314, 52317, 52319, 52323, 52326, 52329, 52331, 52335, 52338, 52343, 52350, 52355, 52359, 52362, 52365, 52367, 52374, 52383, 52389, 52394, 52398, 52403, 52413, 52418, 52429, 52442, 52461, 52466, 52476, 52504)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION