Hi there.
In this case, if you are using the “Create a Database Item” module, I would suggest using the “Search Objects” module first. This module has an inbuilt filter so you can easily search for the database item by mapping the variable from the previous module into the filter with setting the desired condition. Then, use the filter to stop the flow in case the search module finds a match.
Simple example shown in the screenshots below: