SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    121, 119, 141, 23, 4, 142, 120, 62, 108, 
    107, 94, 8, 86, 54, 10, 93, 12, 32, 7, 130, 
    35, 16, 33, 110, 34, 89, 147, 114, 36, 
    128, 20, 52, 84, 109, 118, 19, 131, 146, 
    13, 61, 95, 15, 9, 85, 59, 111, 144, 60, 
    123, 145, 113, 6, 14, 63, 136, 50984, 
    127, 134, 42, 50985, 50986, 50988, 50993, 
    50992
  )

Query time 0.00088

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.71"
    },
    "table": {
      "table_name": "cscart_warehouses_sum_products_amount",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 126,
      "rows_produced_per_join": 126,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_warehouses_sum_products_amount`.`product_id` in (121,119,141,23,4,142,120,62,108,107,94,8,86,54,10,93,12,32,7,130,35,16,33,110,34,89,147,114,36,128,20,52,84,109,118,19,131,146,13,61,95,15,9,85,59,111,144,60,123,145,113,6,14,63,136,50984,127,134,42,50985,50986,50988,50993,50992))",
      "cost_info": {
        "read_cost": "60.11",
        "eval_cost": "12.60",
        "prefix_cost": "72.71",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
4 15
4 15
6 29
6 29
7 2
7 2
8 3
8 3
9 36
9 36
10 38
10 38
12 3
12 3
13 20
13 20
14 29
14 29
15 31
15 31
16 23
16 23
19 3
19 3
20 2
20 2
23 19
23 19
32 1
32 1
33 2
33 2
34 3
34 3
35 3
35 3
36 3
36 3
42 5
42 5
52 2
52 2
54 3
54 3
59 14
59 14
60 29
60 29
61 12
61 12
62 20
62 20
63 5
63 5
84 18
84 18
85 70
85 70
86 27
86 27
89 8
89 8
93 1
93 1
94 1
94 1
95 13
95 13
107 17
107 17
108 10
108 10
109 3
109 3
110 3
110 3
111 1
111 1
113 37
113 37
114 25
114 25
118 20
118 20
119 27
119 27
120 25
120 25
121 22
121 22
123 21
123 21
127 3
127 3
128 3
128 3
130 2
130 2
131 2
131 2
134 2
134 2
136 13
136 13
141 11
141 11
142 12
142 12
144 4
144 4
145 4
145 4
146 4
146 4
147 2
147 2
50984 1
50984 1
50985 6
50985 6
50986 10
50986 10
50988 6
50988 6
50992 6
50992 6
50993 6
50993 6