GQ 840 then OS 645 at Vienna
Athens → Vienna → Prague
Timetable, Vienna time
16:55GQ 840 from Athens at the gate
15:20OS 645 to Prague leaves the gate
22 h 25 apart on the timetable, overnight
OS 645 leaves 22 h 25 after GQ 840 arrives on the timetable: more than half a day, so not a connection we count.