SELECT *
FROM london_stages
WHERE eventid IN (17803, 30502, 30504, 30507, 30509, 30513, 30517, 30520, 30526, 30532, 30535, 30537, 30546, 30553, 30557, 30569, 30580, 30597, 30665, 30678, 30697, 30862, 30874, 30884, 30896, 30979, 31043, 31149, 31151, 31159, 31194, 31207, 31226, 31257, 31356, 31410, 31465, 31660, 31686, 31771, 31849, 31903, 31927, 31974, 32017, 32061, 32106, 32234, 32249, 32339, 32370, 32403, 32454, 32514, 32570, 32809, 32836, 32987, 33152, 33273, 33381, 33481, 33522, 33531, 33657, 33802, 33823, 33867, 34015, 34026, 34039, 34161, 34220, 34234, 34703, 34715, 34758, 35017, 35295, 35327, 35570, 35767, 35784, 35895, 35905, 35973, 36130, 36134, 36189, 36373, 36575, 36861, 36872, 36990, 37374, 37662, 37820, 38335, 38540, 38706, 38728, 38767, 39083, 39086, 39257, 39447, 39774, 39845, 39877, 40227, 40294, 40392, 40480, 40483, 40486, 40492, 40529, 41169, 41184, 42097, 42106, 42728, 43267, 43447, 43673, 43944, 43951, 43967, 43986, 44015, 44034, 44189, 44451, 44508, 44585, 44600, 44759, 45029, 45063, 45086, 45249, 45313, 45455, 45470, 45500, 45512, 45562, 45583, 45703, 45770, 45842, 45943, 46139, 46278, 47669, 47824, 47839, 48279, 48397, 48959, 48984, 49081, 49553, 50981, 50999, 51126, 51611, 51742, 51959, 51969, 51985, 52029, 52035)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION