First note that the projections $\pi_X: X \times Y \to X$ and $\pi_Y: X \times Y \to Y$ are both continuous seen as maps from $(X \times Y,d)$ because e.g.$$d_1(\pi_X((x,y),\pi_X(x',y')) = d_1(x,x') \le d((x,y),(x',y'))$$ so the projections are contractions (so even uniformly continuous, $\delta=\varepsilon$ works globally).
Because the product topology $\mathcal{T}_p$ on $X \times Y$ is defined as the smallest topology on $X \times Y$ that makes both $\pi_X$ and $\pi_Y$ continuous, and the metric topology from $d$ is one such topology, we have that $\mathcal{T}_p \subseteq \mathcal{T}_d$, showing one inclusion.
To show the reverse, take any open set $O$ in $\mathcal{T}_d$ and $(p,q)$ in $O$. We have to show $(p,q)$ is an interior point for $O$ in the product topology. As the point is arbitrary, it follows that $O$ is then product-open and we're done showing the equality of these topologies.
First note that is an open ball of radius $r>0$ around $(p,q)$ such that $B_d((p,q),r) \subseteq O$ because $O$ is $d$-open. Then note that $U=B(p,\frac{r}{2})$ is open in $X$ and $V=B(q, \frac{r}{2})$ is open in $Y$ (being metric balls in the metric topology) and we claim that $(p,q) \in U \times V \subseteq B_d((p,q), r)$, which is quite obvious from the definitions. But $U \times V$ is product open and so indeed $(p,q)$ is an interior point of $O$ for the product topology.