SELECT *
FROM london_stages
WHERE eventid IN (37871, 37873, 37876, 37879, 37883, 37888, 37892, 37901, 37903, 37908, 37912, 37915, 37917, 37926, 37929, 37942, 37944, 37946, 37948, 37950, 37952, 37955, 37957, 37959, 37961, 38422, 38434, 38439, 38457, 38561, 38658, 38675, 38700, 38703, 48551, 48553, 48747, 48749, 48754, 48755, 48757, 48759, 48761, 48766, 48767, 48769, 48771, 48774, 48775, 48777, 48779, 48781, 48783, 48785, 48787, 48789, 48791, 48793, 48796, 48798, 48801, 48803, 48805, 48810, 48812, 48815, 48817, 48819, 48821, 48826, 48828, 48830, 48835, 48851, 48856, 48865, 48870, 48877, 48902, 48916, 48923, 48930, 48945, 48952, 48959, 48961, 48980, 48988, 48990, 48993, 49009, 49014, 49021, 49023, 49033, 49038, 49041, 49053, 49056, 49066, 49077, 49081, 49083, 49086, 49090, 49100, 49199, 49214, 49343, 49779, 49791, 49799, 49801, 49803, 49813, 49825, 49827, 49831, 49837, 49849, 49869, 50094, 50097, 50102, 50143, 50158, 50166, 50179, 50352, 50353, 50356, 50358, 50360, 50361, 50378, 50475, 50477, 50480, 50482, 50484, 50487, 50489, 50492, 50494, 50496, 50498, 50501, 50503, 50506, 50508, 50510, 50512, 50515, 50520, 50522, 50524, 50526, 50529, 50531, 50534, 50536, 50538, 50540, 50543, 50546, 50549, 50551, 50554, 50556, 50559, 50564, 50566, 50568, 50571, 50573, 50576, 50578, 50581, 50583, 50588, 50591, 50593, 50595, 50602, 50609, 50620, 50626, 50635, 50688, 50690, 50695, 50702, 50704, 50707, 50709, 50712, 50717, 50722, 50726, 50736, 50742, 50744, 50772, 50790, 50802, 50805, 50812, 50940, 50959, 50965, 50971, 51161, 51164, 51166, 51168, 51170, 51185, 51187, 51191, 51194, 51197, 51199, 51206, 51209, 51211, 51215, 51218, 51237, 51241, 51266, 51268, 51304, 51312, 51338, 51341, 51345, 51351, 51356, 51481, 51488, 51496, 51503, 51505, 51521, 51525, 51527, 51547, 51549, 51551, 51553, 51555, 51559, 51563, 51567, 51571, 51575, 51579, 51583, 51585, 51589, 51603, 51617, 51694, 51697, 51699, 51704, 51706, 51710, 51713, 51716, 51718, 51722, 51725, 51728, 51730, 51734, 51737, 51740, 51743, 51747, 51866, 52060, 52072, 52200, 52202, 52216, 52303, 52317, 52329, 52359, 52418, 52425, 52429, 52432, 52439, 52442, 52447, 52452, 52456, 52461, 52466, 52476, 52504, 52506, 52509, 52511)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION