This can be approached differently and in a simpler way: Enroll tickets when you want the 5 hour timer to start running (e.g. “Create date is known” or “Ticket status is any of New, Waiting on us”). Make sure to enable re-enrollment when you’re using the Ticket status.
You would then add a 5 hour delay action. After this 5 hour delay, add a branch to check whether the ticket status is still new or waiting on us. If so, send the notification. If not, don’t do anything.
There would be some edge cases where the ticket has moved back and forth in those 5 hours. If that’s a concern, let me know and I’ll think about a fix.