SELECT *
FROM london_stages
WHERE eventid IN (5666, 37274, 37278, 37280, 37284, 37290, 37294, 37331, 37352, 37410, 37570, 37582, 37597, 37635, 37801, 37811, 37823, 37874, 37893, 37902, 37905, 37949, 37962, 38050, 38123, 38153, 38158, 38167, 38183, 38327, 38396, 38420, 38429, 38543, 38578, 38596, 38627, 38739, 38753, 38771, 38790, 39146, 39151, 39165, 39177, 39250, 39273, 39296, 39308, 39322, 39343, 39447, 39506, 39562, 39607, 39666, 39754, 39877, 40037, 40157, 40180, 40430, 40705, 41082, 41223, 41493, 41522, 41556, 42098, 42101, 42727, 42744, 43080, 43151, 43190, 43286, 43301, 43338, 43412, 43513, 43589, 43616, 43654, 43687, 43700, 43716, 43730, 43737, 43744, 43796, 43807, 43813, 43829, 43842, 43875, 43881, 43882, 43993, 44004, 44021, 44052, 44086, 44279, 44409, 44442, 44448, 44463, 44909, 44929, 44997, 45011, 45019, 45137, 45268, 45270, 45279, 45292, 45332, 45360, 45380, 45419, 45499, 45549, 45556, 45575, 45581, 45587, 45598, 45606, 45609, 45612, 45615, 45706, 45749, 45782, 45800, 45818, 45857, 45924, 45992, 46014, 46139, 46156, 46296, 46316, 46660, 46833, 46930, 47138, 47140, 47263, 47480, 47502, 47723, 47753, 47793, 47874, 48566, 48568, 48570, 48574, 48579, 48693, 48939, 49766, 50160, 50337, 50362, 50561, 50918, 51068, 51100, 51384, 51389, 51393, 51398, 51409, 51414, 51436, 51443, 51842, 51846, 51884, 52065, 52096, 52113, 52145, 52161, 52185, 52402, 52420, 52465, 52478, 52499)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION