SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}Ginsweiler{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}' OR prCity = 'Ginsweiler' OR prZip = 'Ginsweiler' OR prStreet LIKE '{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}Ginsweiler{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}' OR prCountry = 'Ginsweiler') AND (prLocation LIKE '{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}Germany{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}Germany{57edaacacd00fc5b31ac3f2c113480a40d1ec700d713c1ac610eb4acc7a4f98e}' OR prCountry = 'Germany')