SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    31881, 32005, 32006, 32007, 32008, 32009
  ) 
  AND feature_id IN (23255, 23256) 
  AND lang_code = 'vi'

Query time 0.00105

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_features_values",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "idx_product_feature_variant_id",
          "key_length": "12",
          "used_key_parts": ["product_id", "feature_id", "lang_code"],
          "rows": 12,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (31881,32005,32006,32007,32008,32009) and cscart_product_features_values.feature_id in (23255,23256) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
31881 23255 80644
31881 23256 80647
32005 23255 80644
32005 23256 80648
32006 23255 80645
32006 23256 80647
32007 23255 80645
32007 23256 80648
32008 23255 80646
32008 23256 80647
32009 23255 80646
32009 23256 80648