SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (38319, 38320, 38321, 38137, 38318) 
  AND feature_id IN (23919) 
  AND lang_code = 'vi'

Query time 0.00142

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 = 23919 and cscart_product_features_values.product_id in (38319,38320,38321,38137,38318) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
38137 23919 83192
38318 23919 83193
38319 23919 83194
38320 23919 83195
38321 23919 83196