SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    577, 591, 1476, 1806, 1, 1298, 1818, 1809, 
    1299, 1297, 1471, 273, 164, 1814, 1817, 
    122, 121, 127, 149, 120, 123, 152, 146, 
    50, 57, 58, 1472, 147, 176, 30, 29, 298, 
    423, 1303, 1300, 1810, 237, 238, 98, 
    1475, 376, 165
  )

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "29.41"
    },
    "table": {
      "table_name": "cscart_product_feature_variants",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "variant_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 42,
      "rows_produced_per_join": 42,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_product_feature_variants`.`variant_id` in (577,591,1476,1806,1,1298,1818,1809,1299,1297,1471,273,164,1814,1817,122,121,127,149,120,123,152,146,50,57,58,1472,147,176,30,29,298,423,1303,1300,1810,237,238,98,1475,376,165))",
      "cost_info": {
        "read_cost": "25.21",
        "eval_cost": "4.20",
        "prefix_cost": "29.41",
        "data_read_per_join": "64K"
      },
      "used_columns": [
        "variant_id",
        "feature_id",
        "url",
        "color",
        "position",
        "abt__ut2_color_style",
        "abt__ut2_multicolor"
      ]
    }
  }
}

Result

variant_id feature_id url color position abt__ut2_color_style abt__ut2_multicolor
1 1 1 default
29 3 0 default
30 3 0 default
50 6 0 default
57 6 #ffffff 0 default #ffffff
58 6 #ffffff 0 default #ffffff
98 39 #c9bdaa 0 default
120 56 0 default
121 56 0 default
122 56 0 default
123 57 #ffffff 0 default #ffffff
127 56 #ffffff 0 default #ffffff
146 65 #ffffff 0 default #ffffff
147 66 #ffffff 0 default #ffffff
149 56 0 default
152 57 #ffffff 0 default #ffffff
164 55 0 default
165 39 #000000 0 default #ffffff
176 66 #ffffff 0 default #ffffff
237 39 #ac937f 0 default #ffffff
238 39 #4f5b5c 0 thumbnail #ffffff
273 55 0 default
298 86 0 default
376 39 #422f26 0 thumbnail #ffffff
423 86 0 default
577 1 0 default
591 1 0 default
1297 55 0 default
1298 58 0 default
1299 58 0 default
1300 10 0 default
1303 86 0 default
1471 55 0 default
1472 66 0 default
1475 39 #3a3a3f 0 thumbnail #ffffff
1476 1 0 default
1806 1 0 default
1809 58 0 default
1810 10 0 default
1814 55 0 default
1817 55 0 default
1818 58 0 default