SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}Kirchwald{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}' OR prCity = 'Kirchwald' OR prZip = 'Kirchwald' OR prStreet LIKE '{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}Kirchwald{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}' OR prCountry = 'Kirchwald') AND (prLocation LIKE '{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}Germany{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}Germany{07a6b753995fca6777e354122fc3677b1457af7f8ac2f859fe406e95fb1cee39}' OR prCountry = 'Germany')