UX 16 then UX 25 at Madrid
La Mesa → Madrid → Santa Cruz
Timetable, Madrid time
01:05UX 16 from La Mesa at the gate
23:35UX 25 to Santa Cruz leaves the gate
22 h 30 apart on the timetable
UX 25 leaves 22 h 30 after UX 16 arrives on the timetable: more than half a day, so not a connection we count.