There wont be any problem in qatar while you have loan in UAE. Some of my friends also work in qatar with the loan arrears in UAE.

But pay back the loan atleast when you get a good job in qatar.

Resi... :)