4-5 hours shouldn’t be too much a big deal - just have lots of air in whatever container the fish is being transported in.
Fish being shipped in the mail have to go a lot longer.
The goldfish fish I won at fair as a kid definitely lived through that, plus longer. I’m pretty sure they rode some rollercoasters too :hushed-face::face-with-hand-over-mouth: