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