On px−qy=c and related three term exponential Diophantine equations with prime bases