SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 965, 967, 969, 970, 2103, 
    2108, 2130, 2135, 2163, 2180, 2186, 
    2192, 2221, 3238, 766
  )

Query time 0.01066

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,965,967,969,970,2103,2108,2130,2135,2163,2180,2186,2192,2221,3238,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
965 162 #ffffff 0 default
967 162 #ffffff 0 default
969 163 #ffffff 0 default
970 163 #ffffff 0 default
2103 280 #000000 0 default
2108 280 #d3d3d3 31 default
2130 280 #f0ffff 113 default
2135 280 #7fffd4 134 default
2163 280 #f0fff0 241 default
2180 280 #ffff00 272 default
2186 280 #daa520 308 default
2192 280 #ff8c00 360 default
2221 280 #483d8b 491 default
3238 280 #6f4e37 600 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default