SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    42130, 42129, 42127, 42126, 42125, 42124, 
    42123, 42122, 42121, 42120, 42119, 
    42118, 42117, 42116, 42115, 42111, 
    42114, 42128
  ) 
  AND feature_id IN (24259, 24247) 
  AND lang_code = 'vi'

Query time 0.00284

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": 36,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (42130,42129,42127,42126,42125,42124,42123,42122,42121,42120,42119,42118,42117,42116,42115,42111,42114,42128) and cscart_product_features_values.feature_id in (24259,24247) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
42111 24247 84490
42111 24259 84546
42114 24247 84490
42114 24259 84547
42115 24247 84491
42115 24259 84546
42116 24247 84491
42116 24259 84547
42117 24247 84492
42117 24259 84546
42118 24247 84492
42118 24259 84547
42119 24247 84493
42119 24259 84546
42120 24247 84493
42120 24259 84547
42121 24247 84494
42121 24259 84546
42122 24247 84494
42122 24259 84547
42123 24247 84495
42123 24259 84546
42124 24247 84495
42124 24259 84547
42125 24247 84496
42125 24259 84546
42126 24247 84496
42126 24259 84547
42127 24247 84497
42127 24259 84546
42128 24247 84497
42128 24259 84547
42129 24247 84643
42129 24259 84546
42130 24247 84643
42130 24259 84547