SELECT 
  item_id 
FROM 
  cscart_sg_user_activity_log 
WHERE 
  action = 'blog_view' 
  AND item_id > 0 
GROUP BY 
  item_id 
ORDER BY 
  COUNT(*) DESC 
LIMIT 
  10

Query time 0.00652

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 7.678977,
    "filesort": {
      "sort_key": "count(0) desc",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_sg_user_activity_log",
              "access_type": "ALL",
              "loops": 1,
              "rows": 45869,
              "cost": 7.678977,
              "filtered": 100,
              "attached_condition": "cscart_sg_user_activity_log.`action` = 'blog_view' and cscart_sg_user_activity_log.item_id > 0"
            }
          }
        ]
      }
    }
  }
}