SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}Naundorf{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}' OR prCity = 'Naundorf' OR prZip = 'Naundorf' OR prStreet LIKE '{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}Naundorf{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}' OR prCountry = 'Naundorf') AND (prLocation LIKE '{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}Germany{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}Germany{8c309c8f07a5c84e22c7a3f655f6b2b6024a2b4f262fc0c77b4222873526b35d}' OR prCountry = 'Germany')