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