SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    4786, 1895, 3095, 3097, 3096, 3099, 3100, 
    3101, 3102, 3103, 3085, 3686, 3087, 
    3089, 3092, 3090, 3093, 3094, 3104, 
    3084, 1859, 1870, 0, 1860, 1899, 1898, 
    1931, 1881, 1897
  )

Query time 0.00053

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_feature_variants",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["variant_id"],
          "rows": 29,
          "filtered": 100,
          "index_condition": "cscart_product_feature_variants.variant_id in (4786,1895,3095,3097,3096,3099,3100,3101,3102,3103,3085,3686,3087,3089,3092,3090,3093,3094,3104,3084,1859,1870,0,1860,1899,1898,1931,1881,1897)"
        }
      }
    ]
  }
}

Result

variant_id feature_id url color position abt__ut2_color_style abt__ut2_multicolor
1859 70 0 default
1860 72 0 default
1870 70 0 default
1881 72 0 default
1895 69 0 default
1897 72 0 default
1898 72 0 default
1899 72 0 default
1931 72 0 default
3084 84 #001 0 default
3085 84 #fff2cc 0 default
3087 84 #ff9900 0 default
3089 84 #efbadb 0 default
3090 84 #00ff00 0 default
3092 84 #999999 0 default
3093 84 #0000ff 0 default
3094 84 #8e7cc3 0 default
3095 84 #ffffff 0 default
3096 84 #e6b8af 0 default
3097 84 #00ffff 0 default
3099 84 #6fa8dc 0 default
3100 84 #ffff00 0 default
3101 84 #00ff00 0 default
3102 84 #ffd966 0 default
3103 84 #b45f06 0 default
3104 84 #ff0000 0 default
3686 84 0 default
4786 155 #ffffff 6 default