SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    1934, 1862, 1855, 1939, 1874, 3101, 3102, 
    3087, 3090, 3093, 3094, 1856, 1859, 
    1870, 0, 229, 231, 723, 511, 658
  )

Query time 0.00063

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": 20,
          "filtered": 100,
          "index_condition": "cscart_product_feature_variants.variant_id in (1934,1862,1855,1939,1874,3101,3102,3087,3090,3093,3094,1856,1859,1870,0,229,231,723,511,658)"
        }
      }
    ]
  }
}

Result

variant_id feature_id url color position abt__ut2_color_style abt__ut2_multicolor
229 6 0 default
231 6 0 default
511 6 0 default
658 6 0 default
723 6 0 default
1855 69 0 default
1856 70 0 default
1859 70 0 default
1862 69 0 default
1870 70 0 default
1874 69 0 default
1934 69 0 default
1939 69 0 default
3087 84 #ff9900 0 default
3090 84 #00ff00 0 default
3093 84 #0000ff 0 default
3094 84 #8e7cc3 0 default
3101 84 #00ff00 0 default
3102 84 #ffd966 0 default