Consider $64p^{6}q^{3}-125$ as a polynomial over variable $p$.
$$64q^{3}p^{6}-125$$
Find one factor of the form $kq^{m}p^{n}+u$, where $kq^{m}p^{n}$ divides the monomial with the highest power $64q^{3}p^{6}$ and $u$ divides the constant factor $-125$. One such factor is $4qp^{2}-5$. Factor the polynomial by dividing it by this factor.