SELECT *
FROM london_stages
WHERE eventid IN (40712, 40821, 40828, 40831, 40833, 40839, 40845, 40848, 40852, 40856, 40859, 40866, 40876, 40882, 40884, 40891, 40898, 40902, 40912, 40917, 40928, 40941, 40953, 40967, 40974, 40978, 40992, 41005, 41026, 41031, 41043, 41048, 41054, 41055, 41057, 41060, 41063, 41064, 41065, 41066, 41068, 41071, 41072, 41082, 41083, 41086, 41087, 41101, 41586, 41590, 44589, 44593, 44599, 45246, 45250, 45260, 45321, 45650, 45911, 45914, 45916, 45918, 45925, 45930, 45934, 45937, 45944, 45958, 45965, 46020, 46024, 46028, 46042, 46058, 46070, 46154, 46176, 46517, 46786, 46887, 46889, 47241, 47559, 49013, 49017, 49065, 49239, 49255, 49279, 49304, 49370, 49837, 49849, 49937, 49958, 50165, 50166, 50197, 50217, 50218, 50711, 51586, 51588, 51590, 51592, 51595, 51598, 51601, 51605, 51607, 51610, 51613, 51615, 51619, 51621, 51627, 51631, 51636, 51639, 51641, 51662, 51929, 52249)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION