SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    38154, 38337, 38338, 38339, 38340, 38341, 
    38342
  ) 
  AND feature_id IN (23930) 
  AND lang_code = 'vi'

Query time 0.00235

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": 7,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 23930 and cscart_product_features_values.product_id in (38154,38337,38338,38339,38340,38341,38342) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
38154 23930 83221
38337 23930 83222
38338 23930 83223
38339 23930 83224
38340 23930 83225
38341 23930 83226
38342 23930 83227