SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 1082, 1086, 1089, 1098, 1107, 
    1109, 1118, 1125, 1140, 1144, 1149, 
    1134, 1154, 1156, 1157, 1163, 1166, 
    1167, 1171, 2141, 2213, 2214, 2222, 
    766
  )

Query time 0.00212

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "62.41"
    },
    "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": 26,
      "rows_produced_per_join": 26,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,1082,1086,1089,1098,1107,1109,1118,1125,1140,1144,1149,1134,1154,1156,1157,1163,1166,1167,1171,2141,2213,2214,2222,766))",
      "cost_info": {
        "read_cost": "57.21",
        "eval_cost": "5.20",
        "prefix_cost": "62.41",
        "data_read_per_join": "40K"
      },
      "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
766 132 #ffffff 1 default
1082 176 #ffffff 0 default
1086 177 #ffffff 0 default
1089 177 #ffffff 0 default
1098 178 #ffffff 0 default
1107 179 #ffffff 0 default
1109 179 #ffffff 0 default
1118 179 #ffffff 0 default
1125 180 #ffffff 3 default
1134 181 #ffffff 0 default
1140 182 #ffffff 0 default
1144 183 #ffffff 0 default
1149 183 #ffffff 0 default
1154 184 #ffffff 0 default
1156 185 #ffffff 0 default
1157 185 #ffffff 0 default
1163 186 #ffffff 0 default
1166 187 #ffffff 1 default
1167 187 #ffffff 2 default
1171 188 #ffffff 1 default
2141 280 #008b8b 147 default
2213 280 #dc143c 458 default
2214 280 #c71585 464 default
2222 280 #4b0082 497 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default