There are no prescriptions in Mexico.
Medications which are scheduled controlled substances (amphetamines, codiene, morphine, etc) are sold directly by hospitals. There really aren't many of these, and hospitals already have to stock most of them for surgical use.
Everything else is cash over the counter.
And pseudoephedrine is illegal because of pressure from the US.