The one you get from the quest goes away when you kill the boss. It says this in the description of the Elixir buff on your Avatar.

The one you purchase from Sheriff Qian stays on for an hour.