SELECT 
  product_id, 
  amount 
FROM 
  cscart_warehouses_sum_products_amount 
WHERE 
  1 
  AND product_id IN (
    82, 51129, 51128, 51127, 51126, 51125, 
    48, 51139, 51138, 51137, 51136, 51135, 
    40, 51158, 51157, 51156, 53, 51160, 
    51159, 51176, 51174, 51173, 51172, 
    91, 51194, 51193, 51192, 51191, 51190, 
    51189, 19, 51246, 51245, 51244, 35, 
    51248, 51247, 17, 16, 54, 51313, 51312, 
    51314, 51311, 51310, 51323, 51322, 
    51321, 51320, 50, 51324, 105, 57, 51354, 
    51353, 43, 51361, 30, 51362, 51363, 
    51364, 51365
  )

Query time 0.00066

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "74.46"
    },
    "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": 131,
      "rows_produced_per_join": 131,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_warehouses_sum_products_amount`.`product_id` in (82,51129,51128,51127,51126,51125,48,51139,51138,51137,51136,51135,40,51158,51157,51156,53,51160,51159,51176,51174,51173,51172,91,51194,51193,51192,51191,51190,51189,19,51246,51245,51244,35,51248,51247,17,16,54,51313,51312,51314,51311,51310,51323,51322,51321,51320,50,51324,105,57,51354,51353,43,51361,30,51362,51363,51364,51365))",
      "cost_info": {
        "read_cost": "61.36",
        "eval_cost": "13.10",
        "prefix_cost": "74.46",
        "data_read_per_join": "2K"
      },
      "used_columns": [
        "product_id",
        "amount"
      ]
    }
  }
}

Result

product_id amount
16 23
16 23
17 32
17 32
19 3
19 3
30 4
30 4
35 3
35 3
40 3
40 3
43 4
43 4
48 1
48 1
50 4
50 4
53 5
53 5
54 3
54 3
57 35
57 35
91 1
91 1
105 25
105 25
51125 5
51125 5
51126 5
51126 5
51127 3
51127 3
51128 2
51128 2
51129 2
51129 2
51135 8
51135 8
51136 8
51136 8
51137 8
51137 8
51138 2
51138 2
51139 2
51139 2
51156 8
51156 8
51157 6
51157 6
51158 6
51158 6
51159 4
51159 4
51160 5
51160 5
51172 3
51172 3
51173 3
51173 3
51174 1
51174 1
51176 1
51176 1
51189 3
51189 3
51190 6
51190 6
51191 6
51191 6
51192 6
51192 6
51193 3
51193 3
51194 2
51194 2
51244 6
51244 6
51245 6
51245 6
51246 2
51246 2
51247 2
51247 2
51248 2
51248 2
51310 3
51310 3
51311 4
51311 4
51312 4
51312 4
51313 5
51313 5
51314 3
51314 3
51320 6
51320 6
51321 8
51321 8
51322 7
51322 7
51323 5
51323 5
51324 5
51324 5
51353 3
51353 3
51354 3
51354 3
51361 4
51361 4
51362 6
51362 6
51363 6
51363 6
51364 3
51364 3
51365 1
51365 1