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