select 
*
from
(select * from desks_data_base where desk_id= {desk_id}) desks1,
(select count(*) count_cards, sum(import_open) count_cards_import_open from cards_data_base where  tree LIKE concat('%',{desk_id},'%')) cards_count,
(select count(*) count_desks, sum(import_open) count_desks_import_open from desks where parent_desk = {desk_id} ) cards_desks

