SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}Kirn{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}' OR prCity = 'Kirn' OR prZip = 'Kirn' OR prStreet LIKE '{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}Kirn{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}' OR prCountry = 'Kirn') AND (prLocation LIKE '{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}Germany{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}Germany{0372fb27e8cc371a8f61f273d80345b65bcba22efdf5d60ca1768d0d62136216}' OR prCountry = 'Germany')