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