Stored procedure that accepts an id as a parameter - how to execute for multiple ids list?
If you can pass in the string `"1,22,443", then you construct the query:

SET @sql := CONCAT("... IN (", f22, ")...");


then PREPARE it and EXECUTE.

Not clean, but it should work.

If there is only one element to send in, the IN will still work fine.  (An empty string would lead to a syntax error.)