SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    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.00054

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.01"
    },
    "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": 60,
      "rows_produced_per_join": 60,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_warehouses_sum_products_amount`.`product_id` in (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": "29.01",
        "eval_cost": "6.00",
        "prefix_cost": "35.01",
        "data_read_per_join": "960"
      },
      "used_columns": [
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
6 29
6 29
9 36
9 36
13 20
13 20
14 29
14 29
15 31
15 31
19 3
19 3
42 5
42 5
59 14
59 14
60 29
60 29
61 12
61 12
63 5
63 5
84 18
84 18
85 70
85 70
95 13
95 13
109 3
109 3
111 1
111 1
113 37
113 37
118 20
118 20
123 21
123 21
127 3
127 3
131 2
131 2
134 2
134 2
136 13
136 13
144 4
144 4
145 4
145 4
146 4
146 4
50984 1
50984 1
50985 6
50985 6
50986 10
50986 10
50988 6
50988 6
50992 6
50992 6
50993 6
50993 6