SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    36761, 37024, 37025, 37026, 37027, 37028, 
    37029, 37030, 37031, 37032, 37033, 
    37034, 37035, 37036, 37037, 37038, 
    37039
  ) 
  AND feature_id IN (23762) 
  AND lang_code = 'vi'

Query time 0.01026

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": 17,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 23762 and cscart_product_features_values.product_id in (36761,37024,37025,37026,37027,37028,37029,37030,37031,37032,37033,37034,37035,37036,37037,37038,37039) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
36761 23762 82492
37024 23762 82501
37025 23762 82502
37026 23762 82503
37027 23762 82504
37028 23762 82505
37029 23762 82506
37030 23762 82507
37031 23762 82508
37032 23762 82493
37033 23762 82494
37034 23762 82495
37035 23762 82496
37036 23762 82497
37037 23762 82498
37038 23762 82499
37039 23762 82500