SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 1851, 1879, 1885, 1886, 1894, 
    1898, 1899, 1904, 1905, 1907, 3138, 
    1908, 1912, 2143, 2201, 766
  )

Query time 0.01932

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "43.21"
    },
    "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": 18,
      "rows_produced_per_join": 18,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,1851,1879,1885,1886,1894,1898,1899,1904,1905,1907,3138,1908,1912,2143,2201,766))",
      "cost_info": {
        "read_cost": "39.61",
        "eval_cost": "3.60",
        "prefix_cost": "43.21",
        "data_read_per_join": "27K"
      },
      "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
1851 268 #ffffff 0 default
1879 270 #ffffff 0 default
1885 270 #ffffff 0 default
1886 271 #ffffff 0 default
1894 272 #ffffff 1 default
1898 273 #ffffff 0 default
1899 273 #ffffff 0 default
1904 274 #ffffff 3 default
1905 275 #ffffff 1 default
1907 275 #ffffff 3 default
1908 276 #ffffff 0 default
1912 277 #ffffff 1 default
2143 280 #2f4f4f 151 default
2201 280 #ff0000 381 default
3138 417 #ffffff 0 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default