For completeness, here's the tensor notation version.
First rewriting:
$$ (\mathbf{E}\cdot\mathbf{B})\ \propto \ \epsilon_{\alpha\beta\gamma\delta}F^{\alpha\beta} F^{\gamma\delta} = \epsilon_{\alpha\beta\gamma\delta} \left( \partial^\alpha A^\beta - \partial^\beta A^\alpha \right)F^{\gamma\delta} = 2 \ \epsilon_{\alpha\beta\gamma\delta} \left(\partial^\alpha A^\beta \right) F^{\gamma\delta}$$
where the last step uses relabeling and the anti-symmetry of $\epsilon_{\alpha\beta\gamma\delta}$.
Similarly
$$\epsilon_{\alpha\beta\gamma\delta} \left(\partial^\alpha A^\beta \right) F^{\gamma\delta} = 2 \ \epsilon_{\alpha\beta\gamma\delta} \left(\partial^\alpha A^\beta \right) \left(\partial^\gamma A^\delta \right).$$
Now moving one of the derivatives to the front
$$\epsilon_{\alpha\beta\gamma\delta} \left(\partial^\alpha A^\beta \right) \left(\partial^\gamma A^\delta \right) = \partial^\alpha \left( \epsilon_{\alpha\beta\gamma\delta} A^\beta \left(\partial^\gamma A^\delta \right)\right) - \epsilon_{\alpha\beta\gamma\delta} A^\beta \left(\partial^\alpha \partial^\gamma A^\delta \right)$$
and note that the last term is zero because the derivatives commute and so are symmetric in the those labels, while $\epsilon_{\alpha\beta\gamma\delta}$ is anti-symmetric.
All together this gives:
$$ (\mathbf{E}\cdot\mathbf{B})\ \propto \ \partial^\alpha \left( \epsilon_{\alpha\beta\gamma\delta} A^\beta \left(\partial^\gamma A^\delta \right)\right) $$