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