Hi @FH1000
Unfortunately for those many number of iterations it will definitley take time. There can be a few ways that you can make it faster by filtering out and extracting the rows that best match the item that is being created.
I mean if the field that you are looking for in the SQL table starts with or ends with the field that you have in the SharePoint list. Let's assume that you have a column named Title in both SQL and SP. and when an item is created in SP, you can get rows from SQL and in the action do a filter query to get items that start with the title from SP. (makes sense?)
Please see the syntax here: https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/ (It is for SP but same goes on for SQL)
Supported commands for SQL: https://docs.microsoft.com/en-us/connectors/sql/
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!