Depending on the country, chloroquine (or hydroxychloroquine) are over the counter. At least it is in both the UK and India. The UK has banned export of it, and in India it's less prevalent than it used to be because of the spread of chloroquine-resistant malaria. It used to be used /extremely/ widely in places where malaria is a common occurrence.