SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (31738, 31760, 31761, 31762, 31763) 
  AND feature_id IN (23217) 
  AND lang_code = 'vi'

Query time 0.00459

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": 5,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 23217 and cscart_product_features_values.product_id in (31738,31760,31761,31762,31763) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
31738 23217 80518
31760 23217 80519
31761 23217 80520
31762 23217 80521
31763 23217 80522