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