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 '2/%' 
  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.01270

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "30.62"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "jmj_categories",
            "access_type": "ALL",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "parent",
              "id_path",
              "p_category_id"
            ],
            "rows_examined_per_scan": 120,
            "rows_produced_per_join": 0,
            "filtered": "0.83",
            "cost_info": {
              "read_cost": "29.22",
              "eval_cost": "0.20",
              "prefix_cost": "29.42",
              "data_read_per_join": "3K"
            },
            "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`.`id_path` like '2/%') 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": "1.00",
              "eval_cost": "0.20",
              "prefix_cost": "30.62",
              "data_read_per_join": "3K"
            },
            "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
36 2 2/36 Ethnic Wear 10 A 0 0 none
60 46 2/46/60 Jeans 10 A 0 0 none
31 36 2/36/31 Kurta 10 A 0 0 none
47 45 2/45/47 Tops 10 A 0 0 none
32 36 2/36/32 Kurta Sets 20 A 0 0 none
48 45 2/45/48 T-Shirts 20 A 0 0 none
45 2 2/45 Top Wear 20 A 0 0 none
61 46 2/46/61 Trousers 20 A 0 0 none
46 2 2/46 Bottom Wear 30 A 0 0 none
62 46 2/46/62 Capris 30 A 0 0 none
33 36 2/36/33 Kurtis 30 A 0 0 none
49 45 2/45/49 Shirts 30 A 0 0 none
87 2 2/87 Foot Wear 40 A 0 0 none
34 36 2/36/34 Leggings 40 A 0 0 none
63 46 2/46/63 Shorts 40 A 0 0 none
51 45 2/45/51 Sweat Shirts 40 A 0 0 none
35 36 2/36/35 Churidars 50 A 0 0 none
50 45 2/45/50 Shrugs 50 A 0 0 none
64 46 2/46/64 Skirts 50 A 0 0 none
65 46 2/46/65 Dungarees 60 A 0 0 none
37 36 2/36/37 Patiala & Salwar 60 A 0 0 none
52 45 2/45/52 Sweaters 60 A 0 0 none
53 45 2/45/53 Jackets 70 A 0 0 none
38 36 2/36/38 Palazzos 70 A 0 0 none
66 46 2/46/66 Track Pants 70 A 0 0 none
54 45 2/45/54 Blazers & Coats 80 A 0 0 none
39 36 2/36/39 Dress Materials 80 A 0 0 none
41 36 2/36/41 Sarees 90 A 0 0 none
57 45 2/45/57 Suits 90 A 0 0 none
59 45 2/45/59 Dresses 100 A 0 0 none
40 36 2/36/40 Lehenga Cholis 100 A 0 0 none
43 36 2/36/43 Gowns 110 A 0 0 none
55 45 2/45/55 Jump Suits 110 A 0 0 none
42 36 2/36/42 Dupattas 120 A 0 0 none
56 45 2/45/56 Track Suits 120 A 0 0 none
58 45 2/45/58 Rain Coats 130 A 0 0 none
44 36 2/36/44 Shawls 130 A 0 0 none