There's a Temple of Time in this setting, Link. You already carry the key: the Master Sword. Find a way to restore the temple, go back to the past and kiss Zelda to unlock her power, return to future for "healthy" Mipha.
Marry Paya anyways, because she's still best girl.