SELECT *
FROM london_stages
WHERE eventid IN (40346, 40351, 40365, 40380, 40394, 40409, 40423, 40451, 40490, 40934, 40949, 40963, 40975, 40990, 41004, 41013, 41021, 41029, 41037, 41046, 43177, 43187, 43196, 43209, 43235, 43240, 43251, 43261, 43291, 43311, 43334, 43687, 43700, 43716, 43730, 43737, 43744, 43796, 43807, 43813, 43842, 43993, 44021, 45106, 45112, 45350, 45362, 45370, 45375, 45382, 45387, 45391, 45404, 45421, 45426, 45430, 45434, 45447, 45452, 45507, 45527, 45575, 45598, 45606, 45609, 45612, 45615, 45620, 45655, 45656, 45657, 45658, 45677, 45708, 46343, 46353, 46363, 46365, 46387, 46399, 46407, 46409, 46411, 46413, 46415, 46417, 46419, 46421, 46423, 46425, 46427, 46429, 46431, 46433, 46436, 46438, 46441, 46443, 46446, 46448, 46452, 46455, 46457, 46460, 46462, 46464, 46474, 46483, 46488, 46490, 46492, 46500, 46511, 46519, 46533, 46571, 46593, 46614, 46632, 46642, 46700, 46711, 46729, 46737, 46743, 46746, 46751, 46758, 50486, 50488, 50491, 50493, 50495, 50497, 50500, 50502, 50505, 50507, 50509, 50511, 50514, 50523, 50528, 50537, 50542, 50558, 50570)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION