SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}Langerwehe{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}' OR prCity = 'Langerwehe' OR prZip = 'Langerwehe' OR prStreet LIKE '{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}Langerwehe{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}' OR prCountry = 'Langerwehe') AND (prLocation LIKE '{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}Germany{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}Germany{7b02f2ec2cfff23b70312796ce71ec28eb8ebd14a16340cbfd5ca1b306f4ebfd}' OR prCountry = 'Germany')