SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}Pluwig{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}' OR prCity = 'Pluwig' OR prZip = 'Pluwig' OR prStreet LIKE '{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}Pluwig{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}' OR prCountry = 'Pluwig') AND (prLocation LIKE '{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}Germany{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}Germany{34c45ee7f7d2e8ea3f08bdf3a88b6119394db11a30275fbc6bd78975a4a05233}' OR prCountry = 'Germany')