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