SELECT 
  q_categories.category_id, 
  q_categories.parent_id, 
  q_categories.id_path, 
  q_category_descriptions.category, 
  q_categories.position, 
  q_categories.status, 
  q_seo_names.name as seo_name, 
  q_seo_names.path as seo_path, 
  q_categories.ab__lc_catalog_image_control 
FROM 
  q_categories 
  LEFT JOIN q_category_descriptions ON q_categories.category_id = q_category_descriptions.category_id 
  AND q_category_descriptions.lang_code = 'en' 
  LEFT JOIN q_seo_names ON q_seo_names.object_id = q_categories.category_id 
  AND q_seo_names.type = 'c' 
  AND q_seo_names.dispatch = '' 
  AND q_seo_names.lang_code = 'en' 
WHERE 
  1 = 1 
  AND (
    q_categories.usergroup_ids = '' 
    OR FIND_IN_SET(0, q_categories.usergroup_ids) 
    OR FIND_IN_SET(1, q_categories.usergroup_ids)
  ) 
  AND q_categories.status IN ('A') 
  AND q_categories.level <= 3 
  AND q_categories.category_id IN(
    6, 7, 61, 207, 217, 243, 248, 257, 264, 
    266, 272, 301, 406, 407, 408, 469, 470, 
    249, 484, 567, 598, 614, 615
  ) 
ORDER BY 
  q_categories.is_trash asc, 
  q_categories.position asc, 
  q_category_descriptions.category asc

Query time 0.00219

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "57.05"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "q_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": 23,
            "rows_produced_per_join": 0,
            "filtered": "3.33",
            "index_condition": "(`portal`.`q_categories`.`category_id` in (6,7,61,207,217,243,248,257,264,266,272,301,406,407,408,469,470,249,484,567,598,614,615))",
            "cost_info": {
              "read_cost": "55.06",
              "eval_cost": "0.15",
              "prefix_cost": "55.21",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "level",
              "usergroup_ids",
              "status",
              "position",
              "is_trash",
              "ab__lc_catalog_image_control"
            ],
            "attached_condition": "(((`portal`.`q_categories`.`usergroup_ids` = '') or find_in_set(0,`portal`.`q_categories`.`usergroup_ids`) or find_in_set(1,`portal`.`q_categories`.`usergroup_ids`)) and (`portal`.`q_categories`.`status` = 'A') and (`portal`.`q_categories`.`level` <= 3))"
          }
        },
        {
          "table": {
            "table_name": "q_category_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "portal.q_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.77",
              "eval_cost": "0.15",
              "prefix_cost": "56.13",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category"
            ]
          }
        },
        {
          "table": {
            "table_name": "q_seo_names",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code"
            ],
            "key_length": "206",
            "ref": [
              "portal.q_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.77",
              "eval_cost": "0.15",
              "prefix_cost": "57.05",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "name",
              "object_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status seo_name seo_path ab__lc_catalog_image_control
301 0 301 Products 0 A products none
7 6 6/7 Bed & Bath 10 A bed-and-bath 6 none
470 469 207/469/470 Camping & Hiking 10 A camping-and-hiking 207/469 none
407 406 6/406/407 Sofas & Armchairs 10 A sofas-and-armchairs 6/406 none
249 248 248/249 Toys 10 A toys 248 none
408 406 6/406/408 Bean Bags 20 A bean-bags 6/406 none
61 7 6/7/61 Bedding 20 A bedding 6/7 none
264 257 248/257/264 Garden & Pool 20 A garden-pool 248/257 none
6 0 6 Home & Decor 20 A home-and-decor none
257 248 248/257 Outdoor Play 20 A outdoor-play 248 none
217 207 207/217 Swimming 20 A swimming 207 none
567 406 6/406/567 Chairs 40 A chairs 6/406 none
207 0 207 Sport & Fitness 50 A sport-fitness none
248 0 248 Kids Corner 60 A kids-corner none
615 469 207/469/615 Pool & Fun 60 A pool-and-fun 207/469 none
406 6 6/406 Furniture 70 A furniture 6 none
598 248 248/598 Nursery Bedding & Mattresses 120 A nursery-bedding-and-mattresses 248 none
484 249 248/249/484 Toy Balls 130 A toy-balls-en 248/249 none
243 207 207/243 Camping 160 A camping 207 none
469 207 207/469 Outdoor Recreation 180 A outdoor-recreation 207 none
614 207 207/614 Boating & Water Sports 210 A boating-and-water-sports 207 none