G-8120: Never check existence of a row to decide whether to create it or not.
Major
Efficiency, Reliability
Reason
The result of an existence check is a snapshot of the current situation. You never know whether in the time between the check and the (insert) action someone else has decided to create a row with the values you checked. Therefore, you should only rely on constraints when it comes to prevention of duplicate records.