Thank you for your question. Flying before surgery would not necessarily hinder your operation. We normally are concerned about patients flying after surgery as they can be immobile for several hours increasing the risk of blood clot formation.
Yes you can have surgery after flying 3 or 4 hours after. Just make sure you follow all instructions given to you for preparation before going into the Operation Room. Good Luck