SELECT 
  v.product_id, 
  v.feature_id, 
  v.value, 
  v.value_int, 
  v.variant_id, 
  f.feature_type, 
  fd.description, 
  fd.prefix, 
  fd.suffix, 
  vd.variant, 
  f.parent_id, 
  f.position, 
  gf.position as gposition 
FROM 
  cscart_product_features as f 
  LEFT JOIN cscart_product_features_values as v ON v.feature_id = f.feature_id 
  LEFT JOIN cscart_product_features_descriptions as fd ON fd.feature_id = v.feature_id 
  AND fd.lang_code = 'en' 
  LEFT JOIN cscart_product_feature_variants fv ON fv.variant_id = v.variant_id 
  LEFT JOIN cscart_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id 
  AND vd.lang_code = 'en' 
  LEFT JOIN cscart_product_features as gf ON gf.feature_id = f.parent_id 
  AND gf.feature_type = 'G' 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = f.feature_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'product_features'
  ) 
WHERE 
  f.status IN ('A') 
  AND v.product_id in (
    6783, 6784, 10778, 8680, 6786, 6787, 
    6788, 6789, 8008, 7914, 6790, 6794, 
    6795, 6796, 6797, 6798, 6801, 6917, 
    6918, 6802, 6803, 6804, 6805, 6807
  ) 
  AND f.display_on_catalog = 'Y' 
  AND (
    f.categories_path = '' 
    OR FIND_IN_SET(387, f.categories_path) 
    OR FIND_IN_SET(434, f.categories_path) 
    OR FIND_IN_SET(435, f.categories_path)
  ) 
  AND IF(
    f.parent_id, 
    (
      SELECT 
        status 
      FROM 
        cscart_product_features as df 
      WHERE 
        df.feature_id = f.parent_id
    ), 
    'A'
  ) IN ('A') 
  AND (
    v.variant_id != 0 
    OR (
      f.feature_type != 'C' 
      AND v.value != ''
    ) 
    OR (f.feature_type = 'C') 
    OR v.value_int != ''
  ) 
  AND v.lang_code = 'en' 
ORDER BY 
  fd.description, 
  fv.position

Query time 0.00409

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "fd.description, fv.position",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "v",
              "access_type": "range",
              "possible_keys": [
                "PRIMARY",
                "fl",
                "variant_id",
                "lang_code",
                "product_id",
                "fpl",
                "idx_product_feature_variant_id"
              ],
              "key": "idx_product_feature_variant_id",
              "key_length": "3",
              "used_key_parts": ["product_id"],
              "rows": 243,
              "filtered": 32.53516388,
              "index_condition": "v.product_id in (6783,6784,10778,8680,6786,6787,6788,6789,8008,7914,6790,6794,6795,6796,6797,6798,6801,6917,6918,6802,6803,6804,6805,6807) and v.lang_code = 'en'"
            }
          },
          {
            "table": {
              "table_name": "f",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY", "status"],
              "key": "PRIMARY",
              "key_length": "3",
              "used_key_parts": ["feature_id"],
              "ref": ["lillyshop_lillyshop.v.feature_id"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "f.`status` = 'A' and f.display_on_catalog = 'Y' and (f.categories_path = '' or find_in_set(387,f.categories_path) or find_in_set(434,f.categories_path) or find_in_set(435,f.categories_path)) and if(f.parent_id,(subquery#2),'A') = 'A' and (v.variant_id <> 0 or f.feature_type <> 'C' and v.`value` <> '' or f.feature_type = 'C' or v.value_int <> '')"
            }
          },
          {
            "table": {
              "table_name": "fd",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["feature_id", "lang_code"],
              "ref": ["lillyshop_lillyshop.v.feature_id", "const"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(fd.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": ["lillyshop_lillyshop.v.feature_id", "const", "const"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "cscart_ult_objects_sharing.share_object_id = v.feature_id and cscart_ult_objects_sharing.share_object_type = 'product_features'",
              "using_index": true
            }
          },
          {
            "table": {
              "table_name": "fv",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "3",
              "used_key_parts": ["variant_id"],
              "ref": ["lillyshop_lillyshop.v.variant_id"],
              "rows": 1,
              "filtered": 100
            }
          },
          {
            "table": {
              "table_name": "vd",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["variant_id", "lang_code"],
              "ref": ["lillyshop_lillyshop.fv.variant_id", "const"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(vd.lang_code = 'en' and trigcond(fv.variant_id is not null))"
            }
          },
          {
            "table": {
              "table_name": "gf",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "3",
              "used_key_parts": ["feature_id"],
              "ref": ["lillyshop_lillyshop.f.parent_id"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(gf.feature_type = 'G')"
            }
          }
        ],
        "subqueries": [
          {
            "expression_cache": {
              "state": "uninitialized",
              "query_block": {
                "select_id": 2,
                "nested_loop": [
                  {
                    "table": {
                      "table_name": "df",
                      "access_type": "eq_ref",
                      "possible_keys": ["PRIMARY"],
                      "key": "PRIMARY",
                      "key_length": "3",
                      "used_key_parts": ["feature_id"],
                      "ref": ["lillyshop_lillyshop.f.parent_id"],
                      "rows": 1,
                      "filtered": 100
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

Result

product_id feature_id value value_int variant_id feature_type description prefix suffix variant parent_id position gposition
6784 69 1895 E Brand Kira Nails 0 0
6917 69 1895 E Brand Kira Nails 0 0
6798 69 1895 E Brand Kira Nails 0 0
7914 69 1895 E Brand Kira Nails 0 0
6802 69 1895 E Brand Kira Nails 0 0
6795 69 1895 E Brand Kira Nails 0 0
6787 69 1895 E Brand Kira Nails 0 0
6804 69 1895 E Brand Kira Nails 0 0
8680 69 1895 E Brand Kira Nails 0 0
6797 69 1895 E Brand Kira Nails 0 0
6789 69 1895 E Brand Kira Nails 0 0
6783 69 1895 E Brand Kira Nails 0 0
6807 69 1895 E Brand Kira Nails 0 0
6794 69 1895 E Brand Kira Nails 0 0
6786 69 1895 E Brand Kira Nails 0 0
6918 69 1895 E Brand Kira Nails 0 0
6803 69 1895 E Brand Kira Nails 0 0
8008 69 1895 E Brand Kira Nails 0 0
6801 69 1895 E Brand Kira Nails 0 0
10778 69 1895 E Brand Kira Nails 0 0
6796 69 1895 E Brand Kira Nails 0 0
6788 69 1895 E Brand Kira Nails 0 0
6805 69 1895 E Brand Kira Nails 0 0
6790 69 1895 E Brand Kira Nails 0 0
6794 84 3100 S Color Yellow 0 0
6786 84 3101 S Color Green 0 0
6803 84 3101 S Color Green 0 0
8008 84 3099 S Color Blue 0 0
10778 84 3101 S Color Green 0 0
6796 84 3089 S Color Pink 0 0
6788 84 3099 S Color Blue 0 0
6805 84 3103 S Color Brown 0 0
6790 84 3094 S Color Violet 0 0
6784 84 3090 S Color Light green 0 0
6917 84 3104 S Color Red 0 0
7914 84 3092 S Color Grey 0 0
6798 84 3089 S Color Pink 0 0
6795 84 3096 S Color Beige 0 0
6787 84 3097 S Color Turquoise 0 0
6804 84 3094 S Color Violet 0 0
6797 84 3089 S Color Pink 0 0
6796 70 1870 M Country of origin Ukraine 0 0
6788 70 1870 M Country of origin Ukraine 0 0
6805 70 1870 M Country of origin Ukraine 0 0
6790 70 1870 M Country of origin Ukraine 0 0
6784 70 1870 M Country of origin Ukraine 0 0
6917 70 1870 M Country of origin Ukraine 0 0
6798 70 1870 M Country of origin Ukraine 0 0
7914 70 1870 M Country of origin Ukraine 0 0
6802 70 1870 M Country of origin Ukraine 0 0
6795 70 1870 M Country of origin Ukraine 0 0
6787 70 1870 M Country of origin Ukraine 0 0
6804 70 1870 M Country of origin Ukraine 0 0
8680 70 1870 M Country of origin Ukraine 0 0
6797 70 1870 M Country of origin Ukraine 0 0
6789 70 1870 M Country of origin Ukraine 0 0
6783 70 1870 M Country of origin Ukraine 0 0
6807 70 1870 M Country of origin Ukraine 0 0
6794 70 1870 M Country of origin Ukraine 0 0
6786 70 1870 M Country of origin Ukraine 0 0
6918 70 1870 M Country of origin Ukraine 0 0
6803 70 1870 M Country of origin Ukraine 0 0
8008 70 1870 M Country of origin Ukraine 0 0
6801 70 1870 M Country of origin Ukraine 0 0
10778 70 1870 M Country of origin Ukraine 0 0
8008 72 1860 M Gel polish effect Enamel 0 0
6801 72 1860 M Gel polish effect Enamel 0 0
10778 72 1860 M Gel polish effect Enamel 0 0
6796 72 1860 M Gel polish effect Enamel 0 0
6788 72 1860 M Gel polish effect Enamel 0 0
6805 72 1860 M Gel polish effect Enamel 0 0
6790 72 1860 M Gel polish effect Enamel 0 0
6784 72 1860 M Gel polish effect Enamel 0 0
6917 72 1860 M Gel polish effect Enamel 0 0
7914 72 1860 M Gel polish effect Enamel 0 0
6798 72 1860 M Gel polish effect Enamel 0 0
6802 72 1860 M Gel polish effect Enamel 0 0
6795 72 1860 M Gel polish effect Enamel 0 0
6787 72 1860 M Gel polish effect Enamel 0 0
6804 72 1860 M Gel polish effect Enamel 0 0
8680 72 1860 M Gel polish effect Enamel 0 0
6797 72 1860 M Gel polish effect Enamel 0 0
6789 72 1860 M Gel polish effect Enamel 0 0
6783 72 1860 M Gel polish effect Enamel 0 0
6807 72 1860 M Gel polish effect Enamel 0 0
6794 72 1860 M Gel polish effect Enamel 0 0
6786 72 1860 M Gel polish effect Enamel 0 0
6918 72 1860 M Gel polish effect Enamel 0 0
6803 72 1860 M Gel polish effect Enamel 0 0