Have you tried having a villager try to reach the key while the potion is still in effect (has sparkles around the villager)?