SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    36661, 36662, 36663, 36664, 36665, 36666, 
    36667, 36668, 36669, 36670, 36671, 
    36672, 36673, 36674, 36675, 36676, 
    36677, 36678
  ) 
  AND feature_id IN (23264, 23692) 
  AND lang_code = 'vi'

Query time 0.00192

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": 36,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (36661,36662,36663,36664,36665,36666,36667,36668,36669,36670,36671,36672,36673,36674,36675,36676,36677,36678) and cscart_product_features_values.feature_id in (23264,23692) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
36661 23264 80674
36661 23692 82154
36662 23264 80683
36662 23692 82154
36663 23264 80684
36663 23692 82154
36664 23264 80685
36664 23692 82154
36665 23264 80686
36665 23692 82154
36666 23264 80687
36666 23692 82154
36667 23264 80688
36667 23692 82154
36668 23264 80689
36668 23692 82154
36669 23264 80690
36669 23692 82154
36670 23264 80691
36670 23692 82154
36671 23264 80675
36671 23692 82154
36672 23264 80676
36672 23692 82154
36673 23264 80677
36673 23692 82154
36674 23264 80678
36674 23692 82154
36675 23264 80679
36675 23692 82154
36676 23264 80680
36676 23692 82154
36677 23264 80681
36677 23692 82154
36678 23264 80682
36678 23692 82154