SELECT *
FROM london_stages
WHERE eventid IN (40605, 40607, 40609, 40610, 40612, 40614, 40618, 40621, 40623, 40625, 40627, 40641, 40643, 40645, 40648, 40652, 40654, 40657, 40659, 40662, 40666, 40680, 40722, 40742, 40757, 40766, 40771, 40778, 40788, 40800, 40803, 40808, 40824, 40830, 40838, 40844, 40865, 40872, 40904, 40909, 40919, 40930, 40950, 40971, 40977, 40984, 41003, 41134, 41149, 41159, 41180, 41198, 41210, 41216, 41249, 41254, 41258, 41270, 41284, 41305, 41312, 41334, 41341, 41420, 41490, 41519, 41561, 41712, 41734, 41862, 42013, 42039, 42126, 42148, 42153, 42839, 43698, 43699, 43728, 43735, 43755, 43778, 43904, 44028, 44040, 44045, 44073, 44144, 44283, 44408, 44458, 44594, 44604, 44702, 45471, 45491, 45501, 45510, 45715, 45770, 45828, 45893, 45910, 46079, 46097, 46874, 46902, 46914, 46926, 46938, 46950, 46962, 47060, 47103, 47123, 47155, 47172, 47453, 47783, 49313, 49327, 49384, 50101, 50105, 50107, 50115, 50117, 50120, 50122, 50130, 50741, 50783, 50799, 51342, 51371, 52423, 52468)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION