SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    38247, 38102, 38248, 38249, 38250, 38251, 
    38252, 38253, 38254, 38255
  ) 
  AND feature_id IN (23879) 
  AND lang_code = 'vi'

Query time 0.00499

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": 10,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 23879 and cscart_product_features_values.product_id in (38247,38102,38248,38249,38250,38251,38252,38253,38254,38255) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
38102 23879 83076
38247 23879 83085
38248 23879 83077
38249 23879 83078
38250 23879 83079
38251 23879 83080
38252 23879 83081
38253 23879 83082
38254 23879 83083
38255 23879 83084