mind one's ps and qs
Uncertain; OED (2007) considers the most likely origin the distinction of the minuscule letters p and q in either the school-room or the printing-office.
In the early 17th century however, there is the expression pee and kew in the sense of "highest quality, best possible"
Bring in a quart of Maligo, right true: And looke, you Rogue, that it be Pee and Kew.—Rowlands' Knave of Harts of 1612
Also recorded as in thy Pee and Kue in 1602.
Audio (AUS) (file)