As a natively French speaker, “over the counter“ doesn’t make sense to me. Over the counter from whose perspective? Are we talking about the action of handing something over the counter or the placement? Depending on the answer to these questions, it could mean either prescription or non-prescription medication. So much easier to call them what they are.