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