On the exponential Diophantine equation $x^2+p^mq^n=2y^p$