It seems I am stuck with a (at a first sight) trivial problem.
It's from the "Quarks and Leptons" (Halzen, Martin) book page $141$, where one considers the following integral:
$$\tag{1} T_{fi} = -i\int \!d^4x \, J_0^A(t_A,\vec{x}_A)\,J_0^B(t_A,\vec{x}_A)\frac{1}{|\vec{q}|^2}. $$ In equation $(1)$, $J_0^A$ and $J_0^B$ are the zeroth component of two electron currents: $$J_\mu(x) = j_\mu\mathrm{exp}[(p_f-p_i)\cdot x].$$
Now, according to the authors, one can rewrite $(1)$ by making use of the Fourier transform
$$\tag{2} \frac{1}{|q|^2} = \int\! d^3x\, e^{i\vec{q}\cdot\vec{x}}\frac{1}{4\pi|\vec{x}|}, $$ to the following $$ \tag{3} T_{fi}^{Coul} = -i\int \!dt_A\int d^3x_A\int d^3x_B \, \frac{J_0^A(t,\vec{x}_B)\,J_0^B(t,\vec{x}_B)}{4\pi|\vec{x}_B-\vec{x}_A|}. $$
Equation $(3)$ is then interpreted as the instantaneous$^1$ Coulomb interaction between the charges of the particles, $J_0^A$ and $J_0^B$.
The derivation of this is given in the answer below.
$^1$I.e. interaction without retardation at time $t_A$.