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 
FROM 
  cscart_product_features AS pf 
  LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id 
  AND cscart_product_features_descriptions.lang_code = 'en' 
  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 
  pf.feature_type = 'G' 
  AND (
    pf.feature_id IN (19) 
    OR pf.feature_id NOT IN (
      SELECT 
        parent_id 
      FROM 
        cscart_product_features
    )
  ) 
  AND pf.display_on_product = 'Y' 
  AND (
    pf.categories_path = '' 
    OR ISNULL(pf.categories_path) 
    OR FIND_IN_SET(1, pf.categories_path) 
    OR FIND_IN_SET(2, pf.categories_path) 
    OR FIND_IN_SET(7, pf.categories_path) 
    OR FIND_IN_SET(15, pf.categories_path) 
    OR FIND_IN_SET(18, pf.categories_path) 
    OR FIND_IN_SET(20, pf.categories_path) 
    OR FIND_IN_SET(8, pf.categories_path) 
    OR FIND_IN_SET(25, pf.categories_path) 
    OR FIND_IN_SET(9, pf.categories_path) 
    OR FIND_IN_SET(27, pf.categories_path) 
    OR FIND_IN_SET(308, pf.categories_path) 
    OR FIND_IN_SET(3, pf.categories_path) 
    OR FIND_IN_SET(12, pf.categories_path) 
    OR FIND_IN_SET(40, pf.categories_path) 
    OR FIND_IN_SET(46, pf.categories_path) 
    OR FIND_IN_SET(13, pf.categories_path) 
    OR FIND_IN_SET(49, pf.categories_path) 
    OR FIND_IN_SET(54, pf.categories_path) 
    OR FIND_IN_SET(57, pf.categories_path) 
    OR FIND_IN_SET(67, pf.categories_path) 
    OR FIND_IN_SET(80, pf.categories_path) 
    OR FIND_IN_SET(200, pf.categories_path) 
    OR FIND_IN_SET(14, pf.categories_path) 
    OR FIND_IN_SET(201, pf.categories_path) 
    OR FIND_IN_SET(231, pf.categories_path) 
    OR FIND_IN_SET(234, pf.categories_path) 
    OR FIND_IN_SET(237, pf.categories_path) 
    OR FIND_IN_SET(232, pf.categories_path) 
    OR FIND_IN_SET(241, pf.categories_path) 
    OR FIND_IN_SET(275, pf.categories_path) 
    OR FIND_IN_SET(257, pf.categories_path) 
    OR FIND_IN_SET(261, pf.categories_path) 
    OR FIND_IN_SET(306, pf.categories_path)
  ) 
ORDER BY 
  pf.position, 
  cscart_product_features_descriptions.description

Query time 0.00096

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "pf.position, cscart_product_features_descriptions.description",
      "temporary_table": {
        "table": {
          "table_name": "pf",
          "access_type": "ALL",
          "possible_keys": ["PRIMARY"],
          "rows": 69,
          "filtered": 100,
          "attached_condition": "pf.feature_type = 'G' and (pf.feature_id = 19 or !<in_optimizer>(pf.feature_id,pf.feature_id in (subquery#2))) and pf.display_on_product = 'Y' and (pf.categories_path = '' or pf.categories_path is null or find_in_set(1,pf.categories_path) or find_in_set(2,pf.categories_path) or find_in_set(7,pf.categories_path) or find_in_set(15,pf.categories_path) or find_in_set(18,pf.categories_path) or find_in_set(20,pf.categories_path) or find_in_set(8,pf.categories_path) or find_in_set(25,pf.categories_path) or find_in_set(9,pf.categories_path) or find_in_set(27,pf.categories_path) or find_in_set(308,pf.categories_path) or find_in_set(3,pf.categories_path) or find_in_set(12,pf.categories_path) or find_in_set(40,pf.categories_path) or find_in_set(46,pf.categories_path) or find_in_set(13,pf.categories_path) or find_in_set(49,pf.categories_path) or find_in_set(54,pf.categories_path) or find_in_set(57,pf.categories_path) or find_in_set(67,pf.categories_path) or find_in_set(80,pf.categories_path) or find_in_set(200,pf.categories_path) or find_in_set(14,pf.categories_path) or find_in_set(201,pf.categories_path) or find_in_set(231,pf.categories_path) or find_in_set(234,pf.categories_path) or find_in_set(237,pf.categories_path) or find_in_set(232,pf.categories_path) or find_in_set(241,pf.categories_path) or find_in_set(275,pf.categories_path) or find_in_set(257,pf.categories_path) or find_in_set(261,pf.categories_path) or find_in_set(306,pf.categories_path))"
        },
        "table": {
          "table_name": "cscart_product_features_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["feature_id", "lang_code"],
          "ref": ["herbaria_cscart_4_18.pf.feature_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'en')"
        },
        "table": {
          "table_name": "cscart_ult_objects_sharing",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "159",
          "used_key_parts": [
            "share_object_id",
            "share_company_id",
            "share_object_type"
          ],
          "ref": ["herbaria_cscart_4_18.pf.feature_id", "const", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "cscart_ult_objects_sharing.share_object_id = pf.feature_id and cscart_ult_objects_sharing.share_object_type = 'product_features'",
          "using_index": true
        },
        "subqueries": [
          {
            "query_block": {
              "select_id": 2,
              "table": {
                "table_name": "cscart_product_features",
                "access_type": "ALL",
                "rows": 69,
                "filtered": 100
              }
            }
          }
        ]
      }
    }
  }
}