Let $K$ be the complete elliptic integral of the first kind and $K_\nu$ a modified Bessel function of the second kind. I'm wondering whether the following identity is true and if so, how to prove it: $$\int_{1}^\infty e^{-2 a u^2} u^{1/2}K\left(\frac{u-1}{2u}\right) du \overset{?}{=}\sqrt{\frac{\pi}{32a}} e^{-a}K_{1/4}(a)\tag{1}$$ for $a$ real and strictly positive. I've searched several integral tables but could not find anything that looks related.
The reason why I suspect this might be true is the following. Start from the integral $$Z(g)=\int_{-\infty}^{\infty} \frac{dx}{\sqrt{2\pi}}\, \exp{\left(-\frac{1}{2} x^2 -\frac{g}{4!}x^4\right)} \tag{2}$$ This can be expressed in terms of a Bessel function, for example as in this question, $$Z(g)=\sqrt{\frac{3}{2\pi g}} \exp{\left(\frac{3}{4g}\right)} K_{1/4}\left(\frac{3}{4 g}\right)$$ However, going back to $(2)$, expanding the second exponential and exchanging the order of integration and summation, one gets the asymptotic series $$Z(g)\sim \sum_{n=0}^\infty \frac{(4n)!}{2^{2n}(2n)!n!}\left(-\frac{g}{24}\right)^n$$ Its Borel transform sums to a complete elliptic integral of the first kind, as in this question: $$\mathcal{B}Z(g)= \sum_{n=0}^\infty \frac{(4n)!}{2^{2n}(2n)!(n!)^2}\left(-\frac{g}{24}\right)^n = \frac{2}{\pi} \frac{1}{\left(1+2g/3\right)^{1/4}}K\left(\frac{-1+\sqrt{1+2g/3}}{2\sqrt{1+2g/3}}\right)$$ The Borel transform converges for $|g| < 3/2$, however the right hand side makes sense for all $g > -3/2$. Now the statement $(1)$ is equivalent to the assertion that $Z$ is equal to its Borel sum, that is $Z(g) \overset{?}{=} \int_0^\infty e^{-t} \mathcal{B}Z(gt)$ after replacing $u^2 = 1+2gt/3$ and $a=3/(4g)$ in the integral for cleanliness.