SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}Erlensee{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}' OR prCity = 'Erlensee' OR prZip = 'Erlensee' OR prStreet LIKE '{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}Erlensee{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}' OR prCountry = 'Erlensee') AND (prLocation LIKE '{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}Germany{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}Germany{56d27025273928315eb1cfa5f372d88ae3e03a7cc0c12bd26bd168cfa4369f1b}' OR prCountry = 'Germany')