SELECT *
FROM london_stages
WHERE eventid IN (5199, 18764, 31386, 31739, 37308, 40398, 40406, 40408, 40431, 40444, 40446, 40448, 40581, 40603, 40664, 40668, 40671, 40673, 40676, 40678, 40783, 40796, 40812, 40818, 40987, 41539, 41549, 41554, 41562, 41576, 41705, 41711, 41735, 41826, 41914, 41990, 42011, 42045, 42058, 42073, 42129, 42316, 42377, 42477, 42761, 43079, 43106, 43138, 43158, 43300, 43482, 43555, 43707, 43858, 43997, 44253, 44303, 44341, 44369, 44449, 44549, 44696, 44789, 44853, 44876, 44961, 45043, 45186, 45190, 45198, 45200, 45210, 45212, 45220, 45236, 45238, 45246, 45250, 45255, 45260, 45264, 45269, 45276, 45328, 45333, 45342, 45349, 45354, 45365, 45386, 45390, 45403, 45410, 45416, 45429, 45461, 45464, 45472, 45487, 45509, 45517, 45526, 45554, 45574, 45589, 45590, 45791, 46838, 46867, 46879, 49164, 50025, 50030, 50086, 50151, 50215, 50749, 50754, 50757, 50772, 50795, 50802, 52447, 52452, 52456)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION