SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}Ramerberg{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}' OR prCity = 'Ramerberg' OR prZip = 'Ramerberg' OR prStreet LIKE '{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}Ramerberg{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}' OR prCountry = 'Ramerberg') AND (prLocation LIKE '{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}Germany{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}Germany{88d34093fffa029d5e6742ba16faf4a3717c1cf01b0ff705ebe5cc9354981cac}' OR prCountry = 'Germany')