I have following two MySQL queries and i want to execute it inside one procedure
If you need to loop over the output of one query to another you can use cursors.

For eg, in this stored routine to find in all tables databases we have looped over:

DECLARE table_cur CURSOR FOR SELECT ...
OPEN table_cur;
table_loop:LOOP
...code...
END LOOP;
CLOSE table_cur;


So in your case declare cursor for first query and loop over each recipeid.