SELECT *
FROM london_stages
WHERE eventid IN (39501, 39510, 39515, 39524, 39529, 39538, 39543, 39552, 39557, 39566, 39571, 39580, 39585, 39594, 39599, 39617, 39631, 39636, 39645, 39650, 39659, 39665, 39672, 39677, 39686, 39692, 39701, 39706, 39715, 39720, 39728, 39733, 39737, 39742, 39747, 39756, 39761, 39766, 39771, 39778, 39788, 39794, 39799, 39804, 39809, 39815, 39820, 39825, 39834, 39839, 39846, 39851, 39865, 39879, 39897, 39908, 39911, 39918, 39929, 39939, 40119, 40133, 40147, 40161, 40166, 40171, 40177, 40186, 40191, 40200, 40206, 40215, 40220, 40246, 40260, 40273, 40293, 40317, 40321, 40346, 40351, 40365, 40380, 40394, 40404, 40409, 40414, 40423, 40429, 40439, 40442, 40451, 40456, 40461, 40464, 40468, 40470, 40475, 40477, 40482, 40485, 40490, 40493, 40497)
GROUP BY eventid
ORDER BY eventdate ASC
OPTION