SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2105, 2106, 2114, 2117, 2119, 
    2138, 2143, 2152, 2154, 2195, 2196, 
    2197, 2216, 2221, 2223, 2228, 3238, 
    766
  )

Query time 0.01208

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "48.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": 20,
      "rows_produced_per_join": 20,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2105,2106,2114,2117,2119,2138,2143,2152,2154,2195,2196,2197,2216,2221,2223,2228,3238,766))",
      "cost_info": {
        "read_cost": "44.01",
        "eval_cost": "4.00",
        "prefix_cost": "48.01",
        "data_read_per_join": "30K"
      },
      "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
2105 280 #808080 23 default
2106 280 #a9a9a9 25 default
2114 280 #00008b 55 default
2117 280 #4169e1 70 default
2119 280 #4682b4 77 default
2138 280 #00ced1 141 default
2143 280 #2f4f4f 151 default
2152 280 #32cd32 196 default
2154 280 #9acd32 209 default
2195 280 #e9967a 368 default
2196 280 #fa8072 371 default
2197 280 #f08080 372 default
2216 280 #ee82ee 469 default
2221 280 #483d8b 491 default
2223 280 #8b008b 501 default
2228 280 #9370db 516 default
3238 280 #6f4e37 600 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default