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