SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}Heilbronn{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCity = 'Heilbronn' OR prZip = 'Heilbronn' OR prStreet LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}Heilbronn{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCountry = 'Heilbronn') AND (prLocation LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}/{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}/{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCountry = '/') AND (prLocation LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}Neckargartach{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCity = 'Neckargartach' OR prZip = 'Neckargartach' OR prStreet LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}Neckargartach{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCountry = 'Neckargartach') AND (prLocation LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}Germany{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}Germany{622b3ae5daaa21336dba31d4e03ce35ea72013ad70a5501cefcbfb15da2ed82d}' OR prCountry = 'Germany')