We will be using Flow to call the stored procedure in SQL with a string parameter, have SQL split the string parameter and join the required data, and then return the data to PowerApps. It is amazing how performant this is and the amount of records that it can safely handle in the response.