SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (37107, 37105, 16847, 37106) 
  AND feature_id IN (23771, 23772) 
  AND lang_code = 'vi'

Query time 0.00983

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": 8,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (37107,37105,16847,37106) and cscart_product_features_values.feature_id in (23771,23772) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
16847 23771 82559
16847 23772 82561
37105 23771 82559
37105 23772 82562
37106 23771 82560
37106 23772 82561
37107 23771 82560
37107 23772 82562