SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    523, 182, 1753, 1769, 1773, 1783, 1778, 
    1763, 1767, 1798, 1751, 1757, 1761, 
    1758, 1790, 122, 440, 127, 439, 438, 
    149, 120, 146, 59, 50, 58, 147, 280, 1756, 
    376, 154, 165
  )

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "22.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": 32,
      "rows_produced_per_join": 32,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_product_feature_variants`.`variant_id` in (523,182,1753,1769,1773,1783,1778,1763,1767,1798,1751,1757,1761,1758,1790,122,440,127,439,438,149,120,146,59,50,58,147,280,1756,376,154,165))",
      "cost_info": {
        "read_cost": "19.21",
        "eval_cost": "3.20",
        "prefix_cost": "22.41",
        "data_read_per_join": "49K"
      },
      "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
50 6 0 default
58 6 #ffffff 0 default #ffffff
59 6 #ffffff 0 default #ffffff
120 56 0 default
122 56 0 default
127 56 #ffffff 0 default #ffffff
146 65 #ffffff 0 default #ffffff
147 66 #ffffff 0 default #ffffff
149 56 0 default
154 39 #78866b 0 default #ffffff
165 39 #000000 0 default #ffffff
182 58 0 default
280 39 #ffffff 0 thumbnail #ffffff
376 39 #422f26 0 thumbnail #ffffff
438 56 0 default
439 56 0 default
440 56 0 default
523 1 0 default
1751 55 0 default
1753 58 0 default
1756 39 #4e2c1f 0 thumbnail #ffffff
1757 55 0 default
1758 55 0 default
1761 55 0 default
1763 55 0 default
1767 55 0 default
1769 58 0 default
1773 55 0 default
1778 55 0 default
1783 55 0 default
1790 55 0 default
1798 55 0 default