SELECT *
FROM london_stages
WHERE eventid IN (40324, 45633, 45635, 45637, 45639, 45641, 45643, 45647, 45653, 45657, 45678, 45682, 45687, 45689, 46741, 46748, 46756, 46764, 46777, 46780, 46784, 46792, 46793, 46794, 46798, 46799, 46802, 46807, 46809, 46813, 46815, 47331, 47338, 47341, 47356, 47362, 47363, 47366, 47368, 47582, 47584, 47586, 47589, 47591, 47593, 47595, 47597, 47600, 47603, 47605, 47607, 47609, 47611, 47614, 47616, 47619, 47621, 47623, 47625, 47628, 47631, 47633, 47635, 47637, 47639, 47641, 47649, 47665, 47688, 47690, 47959, 48450, 48456, 48464, 48469, 48470, 48472, 48473, 48474, 48476, 48477, 48478, 48480, 48482, 48484, 48485, 48487, 48488, 48489, 48490, 48492, 48494, 48495, 48496, 48497, 48515, 48516, 48519, 48524, 48526, 48529, 48530, 48532, 48533, 48562, 48676, 48678, 48686, 48690, 49658, 49713, 49718, 49731, 50254, 50265, 50275, 50283, 50290, 50296, 50303, 50310, 50312, 50313, 50316, 50322, 50544, 51377, 51441, 51446, 51964, 51994, 51996, 51997, 51999, 52000, 52001, 52002, 52005, 52007, 52008, 52012, 52017, 52022, 52023, 52028, 52030, 52044, 52046, 52049, 52050, 52051, 52053, 52545)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION