SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    1, 289, 125, 367, 456, 453, 457, 459, 460, 
    122, 121, 120, 123, 152, 461, 146, 50, 
    58, 147, 9, 11, 162, 237, 165
  )

Query time 0.00065

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.81"
    },
    "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": 24,
      "rows_produced_per_join": 24,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_product_feature_variants`.`variant_id` in (1,289,125,367,456,453,457,459,460,122,121,120,123,152,461,146,50,58,147,9,11,162,237,165))",
      "cost_info": {
        "read_cost": "14.41",
        "eval_cost": "2.40",
        "prefix_cost": "16.81",
        "data_read_per_join": "37K"
      },
      "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
9 3 0 default
11 3 0 default
50 6 0 default
58 6 #ffffff 0 default #ffffff
120 56 0 default
121 56 0 default
122 56 0 default
123 57 #ffffff 0 default #ffffff
125 58 #ffffff 0 default #ffffff
146 65 #ffffff 0 default #ffffff
147 66 #ffffff 0 default #ffffff
152 57 #ffffff 0 default #ffffff
162 47 0 default
165 39 #000000 0 default #ffffff
237 39 #ac937f 0 default #ffffff
289 58 0 default
367 58 0 default
453 55 0 default
456 58 0 default
457 55 0 default
459 55 0 default
460 55 0 default
461 65 0 default