Is this IN operator compliant with all SQL standards (Postgres, MySQL, etc.)? Or should we convert it to a standard format like "... AND (socket = IP1 or socket = IP2 ...)"?