SELECT 
  pf.feature_id, 
  pf.company_id, 
  pf.feature_type, 
  pf.parent_id, 
  pf.display_on_product, 
  pf.display_on_catalog, 
  pf.display_on_header, 
  cscart_product_features_descriptions.description, 
  cscart_product_features_descriptions.internal_name, 
  cscart_product_features_descriptions.lang_code, 
  cscart_product_features_descriptions.prefix, 
  cscart_product_features_descriptions.suffix, 
  pf.categories_path, 
  cscart_product_features_descriptions.full_description, 
  pf.status, 
  pf.comparison, 
  pf.position, 
  pf.purpose, 
  pf.feature_style, 
  pf.filter_style, 
  pf.feature_code, 
  pf.timestamp, 
  pf.updated_timestamp, 
  pf_groups.position AS group_position, 
  cscart_product_features_values.value, 
  cscart_product_features_values.variant_id, 
  cscart_product_features_values.value_int, 
  pf.yml2_exclude_prices, 
  cscart_product_features_descriptions.yml2_variants_unit 
FROM 
  cscart_product_features AS pf 
  LEFT JOIN cscart_product_features AS pf_groups ON pf.parent_id = pf_groups.feature_id 
  LEFT JOIN cscart_product_features_descriptions AS pf_groups_description ON pf_groups_description.feature_id = pf.parent_id 
  AND pf_groups_description.lang_code = 'ru' 
  LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id 
  AND cscart_product_features_descriptions.lang_code = 'ru' 
  INNER JOIN cscart_product_features_values ON cscart_product_features_values.feature_id = pf.feature_id 
  AND cscart_product_features_values.product_id = 8216 
  AND cscart_product_features_values.lang_code = 'ru' 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = pf.feature_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'product_features'
  ) 
WHERE 
  1 
  AND pf.feature_type != 'G' 
  AND pf.status IN ('A') 
  AND (
    pf_groups.status IN ('A') 
    OR pf_groups.status IS NULL
  ) 
  AND pf.display_on_product = 'Y' 
  AND (
    pf.categories_path = '' 
    OR ISNULL(pf.categories_path) 
    OR FIND_IN_SET(573, pf.categories_path) 
    OR FIND_IN_SET(575, pf.categories_path) 
    OR FIND_IN_SET(576, pf.categories_path) 
    OR FIND_IN_SET(2755, pf.categories_path)
  ) 
GROUP BY 
  pf.feature_id 
ORDER BY 
  group_position, 
  pf_groups_description.description, 
  pf_groups.feature_id, 
  pf.position, 
  cscart_product_features_descriptions.description, 
  pf.feature_id

Query time 0.00103

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_product_features_values ref PRIMARY,fl,lang_code,product_id,fpl,idx_product_feature_variant_id idx_product_feature_variant_id 3 const 3 Using index condition; Using where; Using temporary; Using filesort
1 SIMPLE pf eq_ref PRIMARY,status PRIMARY 3 stroysan.cscart_product_features_values.feature_id 1 Using where
1 SIMPLE pf_groups eq_ref PRIMARY PRIMARY 3 stroysan.pf.parent_id 1 Using where
1 SIMPLE pf_groups_description eq_ref PRIMARY PRIMARY 9 stroysan.pf.parent_id,const 1 Using where
1 SIMPLE cscart_product_features_descriptions eq_ref PRIMARY PRIMARY 9 stroysan.cscart_product_features_values.feature_id,const 1 Using where
1 SIMPLE cscart_ult_objects_sharing eq_ref PRIMARY PRIMARY 159 stroysan.cscart_product_features_values.feature_id,const,const 1 Using where; Using index

Result

feature_id company_id feature_type parent_id display_on_product display_on_catalog display_on_header description internal_name lang_code prefix suffix categories_path full_description status comparison position purpose feature_style filter_style feature_code timestamp updated_timestamp group_position value variant_id value_int yml2_exclude_prices yml2_variants_unit
46003 1 E 0 Y N Y Бренд Бренд ru A N 1 organize_catalog brand checkbox Brand 1631809146 1739105170 37890
45988 1 S 46011 Y N N Диаметр трубы Диаметр трубы ru 540,575,536,544,1119,2199,2200,2274,2355,2356,2535,2540,2654,2198,2202,2271,2278,2299,2309,2352,2353,2399,2400,2401,2402,2404,2405,2419,2420,2421,2473,2478,2509,2511,2512,2534,2536,2537,2538,2573,2632,2655,2657,2658,2659,2662,2664,2665,2666,2667,2668 A N 62 group_catalog_item dropdown checkbox 1631809146 1734511152 0 37328 0
45989 1 S 46014 Y N N Вид фитинга Вид фитинга ru A N 66 find_products text checkbox 1631809146 1734511152 0 37332 0
45996 1 S 40 Y N N Цвет Цвет ru A N 21 find_products text checkbox 1631809146 1754507359 50 37938