This is badly false but of course you need to pick examples where the integrals actually converge. A simple example is to take $f, g$ to be step functions ("square waves") with disjoint supports, say $f$ the indicator function of $[0, 1]$ and $g$ the indicator function of $[2, 3]$; then $\int fg = 0$ but $(\int f)(\int g) = 1$.
More conceptually, no result of this form could possibly be true, because the LHS and the RHS behave differently with respect to rescaling the variable $x$. Said another way, the LHS and RHS have different units. Explicitly, if we perform a $u$-substitution $x = sy$ on both sides, then on the LHS we get
$$\int_{-\infty}^{\infty} f(sy) g(sy) \, s \, dy = s \int_{-\infty}^{\infty} f(sy) g(sy) \, dy = s \left( \int_{-\infty}^{\infty} f(sy) \, dy \right) \left( \int_{-\infty}^{\infty} g(sy) \, dy \right)$$
(here we are applying the identity to the pair of functions $f(sy), g(sy)$), but on the RHS we get
$$\left( \int_{-\infty}^{\infty} f(sy) \, s \, dy \right) \left( \int_{-\infty}^{\infty} g(sy) \, s \, dy \right) = s^2 \left( \int_{-\infty}^{\infty} f(sy) \, dy \right) \left( \int_{-\infty}^{\infty} g(sy) \, dy \right).$$
These two different scaling behaviors are incompatible, and this argument shows more generally that not only are the LHS and the RHS not equal but there can't even be a nontrivial linear inequality relating them.
In terms of units, if we take $x$ to have units of time and $f, g$ to have units of distance / time (velocity), then the LHS has units of $\frac{ \text{distance}^2}{ \text{time} }$ but the RHS has units of $\text{distance}^2$.
As for the question you're trying to answer, write the integrand as $\frac{\sin ax}{x} \frac{\sin bx}{x}$. What do you know about the Fourier transform of $\frac{\sin ax}{x}$?