How can I prevent external hard disk from sleeping when connected to Airport Extreme?
You can run Keep Drive Spinning on a Mac that's connected to your drive over the network. It continuously accesses a hidden file to keep the drive awake.

You can also set it up yourself per these instructions.