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, 
  jmj_product_features_descriptions.description, 
  jmj_product_features_descriptions.internal_name, 
  jmj_product_features_descriptions.lang_code, 
  jmj_product_features_descriptions.prefix, 
  jmj_product_features_descriptions.suffix, 
  pf.categories_path, 
  jmj_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, 
  jmj_product_features_values.value, 
  jmj_product_features_values.variant_id, 
  jmj_product_features_values.value_int, 
  abt_filters.filter_id 
FROM 
  jmj_product_features AS pf 
  LEFT JOIN jmj_product_features AS pf_groups ON pf.parent_id = pf_groups.feature_id 
  LEFT JOIN jmj_product_features_descriptions AS pf_groups_description ON pf_groups_description.feature_id = pf.parent_id 
  AND pf_groups_description.lang_code = 'en' 
  LEFT JOIN jmj_product_features_descriptions ON jmj_product_features_descriptions.feature_id = pf.feature_id 
  AND jmj_product_features_descriptions.lang_code = 'en' 
  INNER JOIN jmj_product_features_values ON jmj_product_features_values.feature_id = pf.feature_id 
  AND jmj_product_features_values.product_id = 837 
  AND jmj_product_features_values.lang_code = 'en' 
  LEFT JOIN jmj_product_filters AS abt_filters ON abt_filters.feature_id = pf.feature_id 
  AND abt_filters.company_id = pf.company_id 
WHERE 
  1 = 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.company_id IN (0, 133) 
  AND pf.display_on_product = 'Y' 
  AND (
    pf.categories_path = '' 
    OR ISNULL(pf.categories_path) 
    OR FIND_IN_SET(3, pf.categories_path) 
    OR FIND_IN_SET(19, pf.categories_path) 
    OR FIND_IN_SET(20, pf.categories_path)
  ) 
GROUP BY 
  pf.feature_id 
ORDER BY 
  group_position asc, 
  pf_groups_description.description asc, 
  pf_groups.feature_id asc, 
  pf.position asc, 
  jmj_product_features_descriptions.description asc, 
  pf.feature_id asc

Query time 0.03207

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "44.44"
    },
    "ordering_operation": {
      "using_filesort": true,
      "grouping_operation": {
        "using_temporary_table": true,
        "using_filesort": false,
        "nested_loop": [
          {
            "table": {
              "table_name": "jmj_product_features_values",
              "access_type": "ref",
              "possible_keys": [
                "PRIMARY",
                "fl",
                "lang_code",
                "product_id",
                "fpl",
                "idx_product_feature_variant_id"
              ],
              "key": "idx_product_feature_variant_id",
              "used_key_parts": [
                "product_id"
              ],
              "key_length": "3",
              "ref": [
                "const"
              ],
              "rows_examined_per_scan": 16,
              "rows_produced_per_join": 15,
              "filtered": "99.97",
              "index_condition": "(`jmj_test`.`jmj_product_features_values`.`lang_code` = 'en')",
              "cost_info": {
                "read_cost": "16.00",
                "eval_cost": "3.20",
                "prefix_cost": "19.20",
                "data_read_per_join": "12K"
              },
              "used_columns": [
                "feature_id",
                "product_id",
                "variant_id",
                "value",
                "value_int",
                "lang_code"
              ]
            }
          },
          {
            "table": {
              "table_name": "pf",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY",
                "status",
                "company_id"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "feature_id"
              ],
              "key_length": "3",
              "ref": [
                "jmj_test.jmj_product_features_values.feature_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 1,
              "filtered": "8.74",
              "cost_info": {
                "read_cost": "16.00",
                "eval_cost": "0.28",
                "prefix_cost": "38.39",
                "data_read_per_join": "615"
              },
              "used_columns": [
                "feature_id",
                "feature_code",
                "company_id",
                "purpose",
                "feature_style",
                "filter_style",
                "feature_type",
                "categories_path",
                "parent_id",
                "display_on_product",
                "display_on_catalog",
                "display_on_header",
                "status",
                "position",
                "comparison",
                "timestamp",
                "updated_timestamp"
              ],
              "attached_condition": "((`jmj_test`.`pf`.`feature_type` <> 'G') and (`jmj_test`.`pf`.`status` = 'A') and (`jmj_test`.`pf`.`company_id` in (0,133)) and (`jmj_test`.`pf`.`display_on_product` = 'Y') and ((`jmj_test`.`pf`.`categories_path` = '') or isnull(`jmj_test`.`pf`.`categories_path`) or find_in_set(3,`jmj_test`.`pf`.`categories_path`) or find_in_set(19,`jmj_test`.`pf`.`categories_path`) or find_in_set(20,`jmj_test`.`pf`.`categories_path`)))"
            }
          },
          {
            "table": {
              "table_name": "pf_groups",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "feature_id"
              ],
              "key_length": "3",
              "ref": [
                "jmj_test.pf.parent_id"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "19.00",
              "cost_info": {
                "read_cost": "1.40",
                "eval_cost": "0.05",
                "prefix_cost": "40.07",
                "data_read_per_join": "116"
              },
              "used_columns": [
                "feature_id",
                "status",
                "position"
              ],
              "attached_condition": "<if>(found_match(pf_groups), ((`jmj_test`.`pf_groups`.`status` = 'A') or isnull(`jmj_test`.`pf_groups`.`status`)), true)"
            }
          },
          {
            "table": {
              "table_name": "pf_groups_description",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "feature_id",
                "lang_code"
              ],
              "key_length": "9",
              "ref": [
                "jmj_test.pf.parent_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.27",
                "eval_cost": "0.05",
                "prefix_cost": "40.39",
                "data_read_per_join": "618"
              },
              "used_columns": [
                "feature_id",
                "description",
                "lang_code"
              ]
            }
          },
          {
            "table": {
              "table_name": "jmj_product_features_descriptions",
              "access_type": "eq_ref",
              "possible_keys": [
                "PRIMARY"
              ],
              "key": "PRIMARY",
              "used_key_parts": [
                "feature_id",
                "lang_code"
              ],
              "key_length": "9",
              "ref": [
                "jmj_test.jmj_product_features_values.feature_id",
                "const"
              ],
              "rows_examined_per_scan": 1,
              "rows_produced_per_join": 0,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "0.27",
                "eval_cost": "0.05",
                "prefix_cost": "40.71",
                "data_read_per_join": "618"
              },
              "used_columns": [
                "feature_id",
                "description",
                "internal_name",
                "full_description",
                "prefix",
                "suffix",
                "lang_code"
              ]
            }
          },
          {
            "table": {
              "table_name": "abt_filters",
              "access_type": "ref",
              "possible_keys": [
                "feature_id",
                "company_id"
              ],
              "key": "company_id",
              "used_key_parts": [
                "company_id"
              ],
              "key_length": "5",
              "ref": [
                "jmj_test.pf.company_id"
              ],
              "rows_examined_per_scan": 11,
              "rows_produced_per_join": 3,
              "filtered": "100.00",
              "cost_info": {
                "read_cost": "3.11",
                "eval_cost": "0.62",
                "prefix_cost": "44.45",
                "data_read_per_join": "224"
              },
              "used_columns": [
                "filter_id",
                "company_id",
                "feature_id"
              ],
              "attached_condition": "<if>(is_not_null_compl(abt_filters), (`jmj_test`.`abt_filters`.`feature_id` = `jmj_test`.`jmj_product_features_values`.`feature_id`), true)"
            }
          }
        ]
      }
    }
  }
}

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 filter_id
31 0 E 0 Y N N Brands Brands en A N 1 organize_catalog brand checkbox 1624607393 1734520895 3155 129
101 0 M 0 Y N N Pattern Men-Jeans-Pattern en 20 A N 151 find_products multiple_checkbox checkbox 1625044940 1632123077 563 97
102 0 M 0 Y N N Fabric Men-Jeans-Fabric en 20 A N 152 find_products multiple_checkbox checkbox 1625045074 1632123082 570 98
73 0 M 0 Y N N Distress Men-Jeans-Distress en 20 A N 153 find_products multiple_checkbox checkbox 1624730061 1632123087 462 69
79 0 M 0 Y N N Shade Men-Jeans-Shade en 20 A N 154 find_products multiple_checkbox checkbox 1624730985 1646394723 477 75
78 0 M 0 Y N N Fade Men-Jeans-Fade en 20 A N 155 find_products multiple_checkbox checkbox 1624730876 1646394729 474 74
103 0 S 0 Y N N Fit Men-Jeans-Fit en 20 A N 156 find_products text checkbox 1625045207 1646394736 581 99
80 0 S 0 Y N N Wash Type Men-Jeans-Wash Type en 20 A N 158 find_products text checkbox 1624731151 1649226219 483 76
74 0 S 0 Y N N Waist Rise Men-Jeans-Waist Rise en 20 A N 159 find_products text checkbox 1624730196 1646394747 464 70
77 0 S 0 Y N N Stretch Men-Jeans-Stretch en 20 A N 160 find_products text checkbox 1624730759 1646394752 471 73
104 0 S 0 Y N N Weave Type Men-Jeans-Weave Type en 20 A N 161 find_products text checkbox 1625045427 1646394759 590 100
255 0 M 0 Y Y N Size Trousers-Size en 21,22,23,24,20,46 A N 4999 find_products multiple_checkbox checkbox 1632040367 1647066003 1688 253
280 0 S 0 Y Y N Color Color en A N 5000 find_products text color 1632930455 1728372055 2103 280
132 0 S 0 Y N N Stock Type Stock Type en A N 10000 find_products text checkbox 1625550584 1724570302 766 128