SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3152, 3246, 3247, 714, 722, 727, 730, 
    731, 735, 738, 741, 742, 744, 746, 747, 
    3157, 1688, 1689, 1690, 1691, 1692, 
    1693, 1701, 1703, 1704, 2103, 2105, 
    2106, 2107, 2108, 2109, 2110, 2112, 
    2113, 2115, 2116, 2117, 2136, 2148, 
    2149, 2163, 2190, 2217, 3238, 766
  )

Query time 0.00806

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "108.01"
    },
    "table": {
      "table_name": "jmj_product_feature_variants",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "variant_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 45,
      "rows_produced_per_join": 45,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3152,3246,3247,714,722,727,730,731,735,738,741,742,744,746,747,3157,1688,1689,1690,1691,1692,1693,1701,1703,1704,2103,2105,2106,2107,2108,2109,2110,2112,2113,2115,2116,2117,2136,2148,2149,2163,2190,2217,3238,766))",
      "cost_info": {
        "read_cost": "99.01",
        "eval_cost": "9.00",
        "prefix_cost": "108.01",
        "data_read_per_join": "69K"
      },
      "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
714 123 #ffffff 0 default
722 123 #ffffff 0 default
727 124 #ffffff 0 default
730 124 #ffffff 0 default
731 124 #ffffff 0 default
735 125 #ffffff 1 default
738 126 #ffffff 2 default
741 127 #ffffff 1 default
742 127 #ffffff 2 default
744 128 #ffffff 0 default
746 129 #ffffff 1 default
747 129 #ffffff 2 default
766 132 #ffffff 1 default
1688 255 #ffffff 0 default
1689 255 #ffffff 0 default
1690 255 #ffffff 0 default
1691 255 #ffffff 0 default
1692 255 #ffffff 0 default
1693 255 #ffffff 0 default
1701 255 #ffffff 3 default
1703 255 #ffffff 5 default
1704 255 #ffffff 6 default
2103 280 #000000 0 default
2105 280 #808080 23 default
2106 280 #a9a9a9 25 default
2107 280 #c0c0c0 27 default
2108 280 #d3d3d3 31 default
2109 280 #dcdcdc 32 default
2110 280 #778899 37 default
2112 280 #191970 52 default
2113 280 #000080 53 default
2115 280 #0000cd 60 default
2116 280 #0000ff 63 default
2117 280 #4169e1 70 default
2136 280 #40e0d0 136 default
2148 280 #556b2f 173 default
2149 280 #228b22 180 default
2163 280 #f0fff0 241 default
2190 280 #8b4513 339 default
2217 280 #ff00ff 471 default
3152 31 #ffffff 114 default
3157 255 #ffffff 0 default
3238 280 #6f4e37 600 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default