A US court has blocked The Apothecary Shoppe from selling a drug used in executions that has could cause "lingering and ultimately inhumane pain".