SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    40764, 40763, 40755, 40765, 40766, 40767, 
    40768, 40769, 40770
  ) 
  AND feature_id IN (24135, 24134) 
  AND lang_code = 'vi'

Query time 0.00604

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": 18,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (40764,40763,40755,40765,40766,40767,40768,40769,40770) and cscart_product_features_values.feature_id in (24135,24134) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
40755 24134 84116
40755 24135 84119
40763 24134 84116
40763 24135 84120
40764 24134 84116
40764 24135 84121
40765 24134 84117
40765 24135 84119
40766 24134 84117
40766 24135 84120
40767 24134 84117
40767 24135 84121
40768 24134 84118
40768 24135 84119
40769 24134 84118
40769 24135 84120
40770 24134 84118
40770 24135 84121