SELECT 
  cscart_categories.category_id, 
  cscart_categories.parent_id, 
  cscart_categories.id_path, 
  cscart_category_descriptions.category, 
  cscart_categories.position, 
  cscart_categories.status, 
  cscart_categories.company_id, 
  cscart_categories.storefront_id, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_categories 
  LEFT JOIN cscart_category_descriptions ON cscart_categories.category_id = cscart_category_descriptions.category_id 
  AND cscart_category_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_categories.category_id 
  AND cscart_seo_names.type = 'c' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
WHERE 
  1 = 1 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A') 
  AND cscart_categories.level <= 3 
  AND cscart_categories.storefront_id IN (0, 1) 
  AND cscart_categories.category_id IN(
    266, 1907, 1909, 1910, 1911, 1913, 2180, 
    2373, 2374, 2178, 9750, 2910, 3105, 
    9832, 9849
  ) 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00134

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "21.31"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "p_category_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 15,
            "rows_produced_per_join": 0,
            "filtered": "0.67",
            "cost_info": {
              "read_cost": "21.06",
              "eval_cost": "0.02",
              "prefix_cost": "21.08",
              "data_read_per_join": "607"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "level",
              "company_id",
              "usergroup_ids",
              "status",
              "position",
              "is_trash",
              "storefront_id"
            ],
            "attached_condition": "(((`webmarco`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`webmarco`.`cscart_categories`.`usergroup_ids`)) and (`webmarco`.`cscart_categories`.`status` = 'A') and (`webmarco`.`cscart_categories`.`level` <= 3) and (`webmarco`.`cscart_categories`.`storefront_id` in (0,1)) and (`webmarco`.`cscart_categories`.`category_id` in (266,1907,1909,1910,1911,1913,2180,2373,2374,2178,9750,2910,3105,9832,9849)))"
          }
        },
        {
          "table": {
            "table_name": "cscart_category_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "webmarco.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.10",
              "eval_cost": "0.02",
              "prefix_cost": "21.20",
              "data_read_per_join": "417"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_seo_names",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code"
            ],
            "key_length": "206",
            "ref": [
              "webmarco.cscart_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.10",
              "eval_cost": "0.02",
              "prefix_cost": "21.32",
              "data_read_per_join": "173"
            },
            "used_columns": [
              "name",
              "object_id",
              "company_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id seo_name seo_path
9832 3105 2910/3105/9832 Household Cleaning Supplies 0 A 0 0 household-cleaning-supplies-en 2910/3105
3105 2910 2910/3105 Household Supplies 0 A 0 0 household-supplies 2910
266 0 266 Services 0 A 0 0 services-en
1909 1907 266/1907/1909 Manicure & Pedicure 10 A 0 0 manicure-e-pedicure-en 266/1907
2374 2373 266/2373/2374 Professional courses 10 A 0 0 professional-courses 266/2373
1910 1907 266/1907/1910 Face Treatments 20 A 0 0 face-treatments 266/1907
1911 1907 266/1907/1911 Body Treatments 30 A 0 0 body-treatments 266/1907
2910 0 2910 Home & Garden 40 A 0 0 home-and-garden
1913 1907 266/1907/1913 Hair Treatments 50 A 0 0 hair-treatments 266/1907
1907 266 266/1907 Beauty & Wellness 65 A 0 0 wellness 266
2180 1907 266/1907/2180 Hairstylist & Hairdressers 70 A 0 0 hairstylist-and-hairdressers 266/1907
9849 1907 266/1907/9849 Makeup 80 A 0 0 makeup 266/1907
2178 266 266/2178 Health Care Services 170 A 0 0 health-care-services-en 266
2373 266 266/2373 Jobs & Education 180 A 0 0 jobs-and-education 266