This is an integral in <A HREF="https://books.google.nl/books?id=X7HtCAAAQBAJ">Oberhettinger's Table of Fourier Transforms</A> (page 27, with $r=\sqrt{a^2+x^2}$). It is not a very helpful result, but it does suggest that a fully closed-form expression will not be forthcoming (you would need the _indefinite_ integral of a Bessel function of argument $\sqrt{1-x^2}$).

<IMG SRC="https://ilorentz.org/beenakker/MO/cosineintegral_Oberhettinger.png"/>

There is a typo in the formula, a numerical check does not match. For $y<b$ a square root is missing in the argument of the Bessel $Y_0$ function, the following expressions do pass a numerical check:

$$\int_{0}^\infty \frac{\sin\left(b\sqrt{a^2+x^2}\right)}{a^2+x^2}\cos yx\,dx =\frac{e^{-a y} \,\text{Ei}(a y)-e^ {ay} \,\text{Ei}(-a y)}{2 a}$$
$$\qquad\qquad-\frac{\pi}{2}  \int_y^b Y_0\left(a \sqrt{t^2-y^2}\right) \, dt,\;\;0\leq y<b,$$
$$\int_{0}^\infty \frac{\sin\left(b\sqrt{a^2+x^2}\right)}{a^2+x^2}\cos yx\,dx =\int_0^b K_0\left(a \sqrt{y^2-t^2}\right) \, dt,\;\;y>b.$$

The discontinuous derivative at $y=b$ is present in all Fourier transforms of this type [sine or cosine of $b\sqrt{a^2+x^2}$ times some power of $(a^2+x^2)$].