Query time 0.00063
    
    
            JSON explain
        {
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
      "temporary_table": {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "ALL",
          "possible_keys": ["c_status"],
          "rows": 99,
          "filtered": 100,
          "attached_condition": "cscart_categories.company_id = 2 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` = 'A' and cscart_categories.storefront_id in (0,2)"
        },
        "table": {
          "table_name": "cscart_category_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["category_id", "lang_code"],
          "ref": ["cscart_purchase_fl_com.cscart_categories.category_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
        },
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "210",
          "used_key_parts": [
            "object_id",
            "type",
            "dispatch",
            "lang_code",
            "company_id"
          ],
          "ref": [
            "cscart_purchase_fl_com.cscart_categories.category_id",
            "const",
            "const",
            "const",
            "const"
          ],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'ja')"
        }
      }
    }
  }
}
    
            
            
                Result
                                    
                                                    | category_id | 
                                                    parent_id | 
                                                    id_path | 
                                                    category | 
                                                    position | 
                                                    status | 
                                                    company_id | 
                                                    storefront_id | 
                                                    seo_name | 
                                                    seo_path | 
                                            
                                            
                                                            | 6 | 
                                                            0 | 
                                                            6 | 
                                                            Tシャツ | 
                                                            10 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            t-shirts | 
                                                             | 
                                                    
                                            
                                                            | 12 | 
                                                            6 | 
                                                            6/12 | 
                                                            パンダTシャツ | 
                                                            10 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            panda-t | 
                                                            6 | 
                                                    
                                            
                                                            | 9 | 
                                                            10 | 
                                                            10/9 | 
                                                            財布 | 
                                                            10 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            wallet | 
                                                            10 | 
                                                    
                                            
                                                            | 7 | 
                                                            0 | 
                                                            7 | 
                                                            iPhoneケース | 
                                                            20 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            iphone-case | 
                                                             | 
                                                    
                                            
                                                            | 11 | 
                                                            10 | 
                                                            10/11 | 
                                                            鞄 | 
                                                            20 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            bag | 
                                                            10 | 
                                                    
                                            
                                                            | 10 | 
                                                            0 | 
                                                            10 | 
                                                            革製品 | 
                                                            30 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            leather | 
                                                             | 
                                                    
                                            
                                                            | 13 | 
                                                            0 | 
                                                            13 | 
                                                            トートバッグ | 
                                                            110 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            tote-bag | 
                                                             | 
                                                    
                                            
                                                            | 14 | 
                                                            0 | 
                                                            14 | 
                                                            ナップサック | 
                                                            120 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            knapsack | 
                                                             | 
                                                    
                                            
                                                            | 15 | 
                                                            0 | 
                                                            15 | 
                                                            キッズ | 
                                                            130 | 
                                                            A | 
                                                            2 | 
                                                            2 | 
                                                            kids | 
                                                             |