SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    38626, 38628, 38629, 38630, 38631, 38634, 
    38635, 38636, 38640, 38641, 38646
  ) 
  AND feature_id IN (23955, 23956) 
  AND lang_code = 'vi'

Query time 0.00144

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": "PRIMARY",
          "key_length": "6",
          "used_key_parts": ["feature_id", "product_id"],
          "rows": 22,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (38626,38628,38629,38630,38631,38634,38635,38636,38640,38641,38646) and cscart_product_features_values.feature_id in (23955,23956) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
38626 23955 83410
38628 23955 83411
38629 23955 83411
38630 23955 83411
38631 23955 83411
38634 23955 83412
38635 23955 83412
38636 23955 83412
38640 23955 83413
38641 23955 83413
38646 23955 83414
38626 23956 83419
38628 23956 83416
38629 23956 83417
38630 23956 83418
38631 23956 83419
38634 23956 83417
38635 23956 83418
38636 23956 83419
38640 23956 83418
38641 23956 83419
38646 23956 83419