SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2105, 2114, 2118, 2122, 2142, 
    2151, 2170, 2181, 2197, 2198, 2201, 
    2218, 2223, 2226, 766
  )

Query time 0.00244

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "40.81"
    },
    "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": 17,
      "rows_produced_per_join": 17,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2105,2114,2118,2122,2142,2151,2170,2181,2197,2198,2201,2218,2223,2226,766))",
      "cost_info": {
        "read_cost": "37.41",
        "eval_cost": "3.40",
        "prefix_cost": "40.81",
        "data_read_per_join": "26K"
      },
      "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
2114 280 #00008b 55 default
2118 280 #1e90ff 75 default
2122 280 #87cefa 93 default
2142 280 #008080 148 default
2151 280 #006400 182 default
2170 280 #faebd7 252 default
2181 280 #ffd700 279 default
2197 280 #f08080 372 default
2198 280 #cd5c5c 377 default
2201 280 #ff0000 381 default
2218 280 #ba55d3 475 default
2223 280 #8b008b 501 default
2226 280 #9400d3 505 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default