SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    36310, 36332, 36333, 36334, 36335, 36336, 
    36337, 36338, 36331, 36330, 36329, 
    36328, 36327, 36326, 36325, 36324, 
    36323, 36322, 36321, 36320, 36319, 
    36318, 36317, 36316
  ) 
  AND feature_id IN (23690, 23691) 
  AND lang_code = 'vi'

Query time 0.00205

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": 48,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (36310,36332,36333,36334,36335,36336,36337,36338,36331,36330,36329,36328,36327,36326,36325,36324,36323,36322,36321,36320,36319,36318,36317,36316) and cscart_product_features_values.feature_id in (23690,23691) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
36310 23690 82140
36310 23691 82142
36316 23690 82140
36316 23691 82151
36317 23690 82140
36317 23691 82152
36318 23690 82140
36318 23691 82153
36319 23690 82140
36319 23691 82143
36320 23690 82140
36320 23691 82144
36321 23690 82140
36321 23691 82145
36322 23690 82140
36322 23691 82146
36323 23690 82140
36323 23691 82147
36324 23690 82140
36324 23691 82148
36325 23690 82140
36325 23691 82149
36326 23690 82140
36326 23691 82150
36327 23690 82141
36327 23691 82151
36328 23690 82141
36328 23691 82152
36329 23690 82141
36329 23691 82153
36330 23690 82141
36330 23691 82142
36331 23690 82141
36331 23691 82143
36332 23690 82141
36332 23691 82144
36333 23690 82141
36333 23691 82145
36334 23690 82141
36334 23691 82146
36335 23690 82141
36335 23691 82147
36336 23690 82141
36336 23691 82148
36337 23690 82141
36337 23691 82149
36338 23690 82141
36338 23691 82150