SELECT *
FROM london_stages
WHERE eventid IN (39133, 39136, 39138, 39147, 39152, 39157, 39161, 39166, 39172, 39185, 39191, 39203, 39209, 39226, 39231, 39261, 39274, 39294, 39492, 39598, 39614, 39676, 39746, 39841, 40040, 40212, 40326, 40664, 40668, 40671, 40673, 40676, 40678, 40783, 40812, 40818, 40900, 40920, 41379, 44692, 46046, 46290, 46296, 46316, 46344, 46352, 46463, 46660, 46685, 46888, 46946, 47219, 47455, 47583, 47910, 47998, 48058, 48104, 48167, 48617, 49876, 49953, 50493, 50590, 50643, 51316, 51567, 51569, 51571, 51573, 51575, 51577, 51579, 51581, 51583, 51585, 51587, 51589, 51591, 51596, 51603, 51617, 51624, 51629, 51634, 51643, 51648, 51653, 51655, 51664, 51676, 51701, 51759, 51797, 51811, 51833, 51836, 51841, 51843, 51871, 51900, 51907, 51969, 51983, 52029, 52035, 52099, 52108, 52188, 52192, 52298, 52341, 52391, 52396, 52437, 52514, 52531, 52542, 52543, 52544, 52545, 52547, 52548, 52550, 52551, 52552, 52553, 52555, 52558, 52559, 52560, 52561, 52564, 52566, 52567, 52569, 52571, 52572, 52574, 52575, 52576, 52579, 52581, 52582, 52583, 52584, 52585, 52586, 52587, 52590, 52594, 52595, 52597, 52600, 52601, 52602, 52605, 52610, 52615)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION