Could someone help me to prove that $$I=\sup_x \int_{|x-y|<1}|q(y)|^2 \omega(x-y) \, dy <\infty$$ where $x,y\in \mathbb{R}^n$, $q(y)$ is bounded for all $y$ and $\omega(x-y)$ is a function given by: $\mathbf{i})$ negative powers of $|x-y|$, e.g., $|x-y|^{-1}$ or $\mathbf{ii})$ $\omega(x-y)=\log |x-y|$ or $\mathbf{iii}$ $\omega(x-y)=1$?
What about to exchange supremum and integral?