I need help optimizing the following query.
MATCH (p:Program)-[ao:AIRS_ON]->(t:Timeslot)
WITH p, min(t.gmtDateTime) as minTs
MATCH (p1:Program)-[ao1:AIRS_ON]->(t1:Timeslot)
WHERE t1.gmtDateTime = minTs
RETURN p1,t1,minTs ORDER BY t1.gmtDateTime LIMI...