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