Do you have any thoughts on how you can spend your time on the flight to break it up a hit? So it is less long 10 hours to ensure rather 10 x 1h segments of time.
If things got too much what would help? Music - maybe make a flight playlist or white noise apps. Would having something to fiddle with I have a fidget cube thing which is useful at such times.