SELECT 
  jmj_categories.category_id, 
  jmj_categories.parent_id, 
  jmj_categories.id_path, 
  jmj_category_descriptions.category, 
  jmj_categories.position, 
  jmj_categories.status, 
  jmj_categories.company_id, 
  jmj_categories.storefront_id, 
  jmj_categories.ab__lc_catalog_image_control 
FROM 
  jmj_categories 
  LEFT JOIN jmj_category_descriptions ON jmj_categories.category_id = jmj_category_descriptions.category_id 
  AND jmj_category_descriptions.lang_code = 'en' 
WHERE 
  1 = 1 
  AND (
    jmj_categories.usergroup_ids = '' 
    OR FIND_IN_SET(0, jmj_categories.usergroup_ids) 
    OR FIND_IN_SET(1, jmj_categories.usergroup_ids)
  ) 
  AND jmj_categories.status IN ('A') 
  AND jmj_categories.id_path LIKE '3/%' 
  AND jmj_categories.category_id != 1 
  AND jmj_categories.parent_id != 1 
  AND jmj_categories.storefront_id IN (0, 1) 
ORDER BY 
  jmj_categories.is_trash asc, 
  jmj_categories.position asc, 
  jmj_category_descriptions.category asc

Query time 0.01023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "32.34"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "jmj_categories",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "parent",
              "id_path",
              "p_category_id"
            ],
            "key": "id_path",
            "used_key_parts": [
              "id_path"
            ],
            "key_length": "767",
            "rows_examined_per_scan": 22,
            "rows_produced_per_join": 0,
            "filtered": "2.00",
            "index_condition": "(`jmj_test`.`jmj_categories`.`id_path` like '3/%')",
            "cost_info": {
              "read_cost": "31.72",
              "eval_cost": "0.09",
              "prefix_cost": "31.81",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "position",
              "is_trash",
              "ab__lc_catalog_image_control",
              "storefront_id"
            ],
            "attached_condition": "(((`jmj_test`.`jmj_categories`.`usergroup_ids` = '') or find_in_set(0,`jmj_test`.`jmj_categories`.`usergroup_ids`) or find_in_set(1,`jmj_test`.`jmj_categories`.`usergroup_ids`)) and (`jmj_test`.`jmj_categories`.`status` = 'A') and (`jmj_test`.`jmj_categories`.`category_id` <> 1) and (`jmj_test`.`jmj_categories`.`parent_id` <> 1) and (`jmj_test`.`jmj_categories`.`storefront_id` in (0,1)))"
          }
        },
        {
          "table": {
            "table_name": "jmj_category_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "jmj_test.jmj_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.44",
              "eval_cost": "0.09",
              "prefix_cost": "32.34",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id ab__lc_catalog_image_control
20 19 3/19/20 Jeans 10 A 0 0 none
26 25 3/25/26 Kurta 10 A 0 0 none
9 8 3/8/9 T-Shirts 10 A 0 0 none
8 3 3/8 Top Wear 10 A 0 0 none
19 3 3/19 Bottom Wear 20 A 0 0 none
10 8 3/8/10 Casual Shirts 20 A 0 0 none
21 19 3/19/21 Casual Trousers 20 A 0 0 none
30 25 3/25/30 Kurta Sets 20 A 0 0 none
25 3 3/25 Ethnic Wear 30 A 0 0 none
11 8 3/8/11 Formal Shirts 30 A 0 0 none
22 19 3/19/22 Formal Trousers 30 A 0 0 none
27 25 3/25/27 Sherwanis 30 A 0 0 none
28 25 3/25/28 Nehru Jackets 40 A 0 0 none
23 19 3/19/23 Shorts 40 A 0 0 none
12 8 3/8/12 Sweat Shirts 40 A 0 0 none
29 25 3/25/29 Dhotis 50 A 0 0 none
13 8 3/8/13 Sweaters 50 A 0 0 none
24 19 3/19/24 Track Pants 50 A 0 0 none
14 8 3/8/14 Jackets 60 A 0 0 none
15 8 3/8/15 Blazers & Coats 70 A 0 0 none
16 8 3/8/16 Suits 80 A 0 0 none
18 8 3/8/18 Track Suits 90 A 0 0 none
17 8 3/8/17 Rain Coats 100 A 0 0 none