Declare Variables Mysql Stored Procedure

And I get a totally different execution plan!