SELECT *
FROM london_stages
WHERE eventid IN (39366, 39378, 39542, 39545, 39547, 39549, 39551, 39554, 39556, 40053, 40061, 40073, 40431, 40741, 40743, 40746, 40755, 40767, 40770, 40775, 40781, 40816, 40845, 40859, 40876, 40956, 40960, 40962, 41718, 41723, 41729, 41739, 41741, 43444, 44031, 44037, 44078, 44167, 44170, 44172, 44174, 44176, 44178, 44180, 44182, 44184, 44186, 44188, 44190, 44194, 44196, 44198, 44200, 44202, 44204, 44206, 44208, 44210, 44212, 44214, 44216, 44218, 44221, 44223, 44225, 44227, 44239, 44258, 44272, 44279, 44286, 44309, 44348, 44354, 44367, 44374, 44384, 44397, 44412, 44429, 44437, 44444, 44469, 44608, 44632, 44650, 44652, 44664, 44674, 44676, 49825, 49827, 49831, 49837, 49849, 50166, 51221, 51223, 51227, 51231, 51234, 51237, 51241, 51268, 51304, 51338, 51363, 51694, 51697, 51699, 51704, 51706, 51710, 51713, 51716, 51718, 51722, 51725, 51728, 51730, 51734, 51737, 51740, 51743, 51747)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION