Scaling properties of functionals and existence of constrained minimizers