Two panes you keep switching between, say an editor and a shell, should not cost you arrow keys every time.
Ctrl-b ;
The semicolon selects the previously active pane. Press it again and you are back where you started. It works like Alt-Tab for panes inside one window.
It remembers only the last pane, so with three or more panes it jumps between the two you used most recently, not through all of them. Use Ctrl-b o to cycle through every pane in order.
The command behind it is tmux last-pane, which you can also call from a script or a key binding of your own.
Try it in a throwaway session: tmux new -s scratch, and close it afterwards with tmux kill-session -t scratch.
Further reading: tmux manual page (OpenBSD, official), tmux wiki: Getting Started (official)