SELECT 
  item_id 
FROM 
  cscart_sg_user_activity_log 
WHERE 
  action IN ('view', 'cart', 'order') 
  AND item_id > 0 
GROUP BY 
  item_id 
ORDER BY 
  COUNT(*) DESC 
LIMIT 
  80

Query time 0.01240

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 7.679629,
    "filesort": {
      "sort_key": "count(0) desc",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_sg_user_activity_log",
              "access_type": "ALL",
              "loops": 1,
              "rows": 45873,
              "cost": 7.679629,
              "filtered": 100,
              "attached_condition": "cscart_sg_user_activity_log.`action` in ('view','cart','order') and cscart_sg_user_activity_log.item_id > 0"
            }
          }
        ]
      }
    }
  }
}

Result

item_id
461025
461181
111833
312414
461219
390978
11893
461036
312412
153
312456
230
312444
461212
391037
312436
312847
168
391029
312443
164
12708
233
227
461189
390993
116547
170
312455
391030
312424
22384
21914
165
461033
312451
11677
391040
221
116427
461190
393787
312870
312418
312446
183
461035
461027
312421
312449
166
116539
312864
391025
312450
400913
12695
461034
312863
280
432167
312458
400914
281
175
312724
116425
312723
116529
312411
12966
202
312882
119
312051
400915
153469
312869
312426
231