Let $k$ and $x$ be real numbers. Let:
$$I= \int \frac{dx}{\sin x \sqrt{k^2+\sin^2 x}}$$
Let $u=\sin x$, then $du=\sqrt{1-u^2}dx$. Then
$$I= \int \frac{du}{u\sqrt{k^2+u^2}\sqrt{1-u^2}}$$
To go further any recommendations? Not sure if $u=k\tan y$ may help.
A mysterious solution. We apply the substitution
$$ t = \frac{k\cos x}{\sqrt{k^2+\sin^2 x}}. $$
This substitution has the property that
$$ \color{blue}{1 - t^2 = \frac{(k^2+1)\sin^2 x}{k^2+\sin^2 x}} \qquad\text{and}\qquad \color{red}{\mathrm{d}t = -\frac{k (k^2+1) \sin x}{(k^2+\sin^2 x)^{3/2}} \, \mathrm{d}x}. $$
Hence it follows that
\begin{align*} I &= \int \frac{\mathrm{d}x}{\sin x \sqrt{k^2 + \sin^2 x}} \\ &= \int \frac{1}{\sin x \sqrt{k^2 + \sin^2 x}} \color{red}{\biggl( -\frac{(k^2+\sin^2 x)^{3/2}}{k (k^2+1) \sin x} \, \mathrm{d}t \biggr)} \\ &= - \int \frac{\color{blue}{k^2+\sin^2 x}}{k \color{blue}{(k^2+1) \sin^2 x}} \, \mathrm{d}t \\ &= -\frac{1}{k} \int \frac{\mathrm{d}t}{1 - t^2}. \end{align*}
The last integral can be easily computed, yielding
$$ I = -\frac{1}{k} \operatorname{artanh}(t) + \mathsf{C} = \bbox[padding:8px;border:1px navy dotted; color:navy;]{ - \frac{1}{k} \operatorname{artanh}\biggl(\frac{k \cos x}{\sqrt{k^2 + \sin^2 x}}\biggr) + \mathsf{C} }. $$
A less mysterious solution. Let $p = \sqrt{k^2 + 1}$ for simplicity. Then
\begin{align*} I &= \int \frac{\sin x}{(1-\cos^2 x)\sqrt{p^2-\cos^2 x}} \, \mathrm{d}x \\ &= - \int \frac{1}{(1-u^2)\sqrt{p^2-u^2}} \, \mathrm{d}u \tag{$u=\cos x$} \\ &= - \int \frac{\cosh\phi}{1 - k^2\sinh^2 \phi} \, \mathrm{d}\phi \tag{$u=p\tanh\phi$} \\ &= - \frac{1}{k} \operatorname{artanh}(k \sinh\phi) + \mathsf{C} \\ &= - \frac{1}{k} \operatorname{artanh}\biggl(\frac{k u}{\sqrt{p^2 - u^2}}\biggr) + \mathsf{C} \\ &= - \frac{1}{k} \operatorname{artanh}\biggl(\frac{k \cos x}{\sqrt{k^2 + \sin^2 x}}\biggr) + \mathsf{C}. \end{align*}