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