A pharmacy shall keep prescription records of each prescription compounded or dispensed at the pharmacy for a period of not less than five years. The prescription records shall at all times be open to inspection by the board of pharmacy and other law enforcement officers.