Parameter evaluation against harcoded string always return false
I tried it and it is working as expected:
http://sqlfiddle.com/#!9/b92cd1/1

However, some clients deals with every one statement as a single transaction. Try to add all of your code to one transaction and execute it.

I tested that in MySQL client (command line in Linux) and on SQL Fiddle (Link above)