SELECT 
obj_main.isys_obj__id AS '__id__', 
job3.isys_obj__title AS 'LC__UNIVERSAL__TITLE#LC__CMDB__CATG__APPLICATION_OBJ_APPLICATION###catg_1', 
obj_main.isys_obj__id AS 'ID###0_1', 
obj_main.isys_obj__title AS 'LC__UNIVERSAL__TITLE###0_1', 
j2.isys_obj_type__title AS 'LC__REPORT__FORM__OBJECT_TYPE###0_1', 
j1.isys_cmdb_status__title AS 'LC__UNIVERSAL__CMDB_STATUS###0_1', 
j4.isys_catg_application_list__id AS 'isys_cmdb_dao_category_g_application::retrieveLicenseKeysForApplication::isys_catg_application_list__id::LC__CMDB__CATG__LIC_ASSIGN__LICENSE_KEY' 

 FROM isys_obj AS obj_main 
INNER JOIN isys_cmdb_status AS obj_main_status ON obj_main_status.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id 
LEFT JOIN isys_cmdb_status AS j1 ON j1.isys_cmdb_status__id = obj_main.isys_obj__isys_cmdb_status__id 
LEFT JOIN isys_obj_type AS j2 ON j2.isys_obj_type__id = obj_main.isys_obj__isys_obj_type__id 
LEFT JOIN (SELECT * FROM isys_catg_application_list
            INNER JOIN isys_connection ON isys_connection__id = isys_catg_application_list__isys_connection__id
            AND (
                isys_catg_application_list__isys_catg_application_priority__id IS NULL OR
                isys_catg_application_list__isys_catg_application_priority__id = 2
            ) ) AS j4 ON
                                    j4.isys_catg_application_list__isys_obj__id = obj_main.isys_obj__id 
LEFT JOIN isys_obj AS job3 ON j4.isys_connection__isys_obj__id = job3.isys_obj__id 

WHERE TRUE 
 AND  ( (j2.isys_obj_type__id != '60' ) AND (j2.isys_obj_type__id != '63' ) ) AND ( (j1.isys_cmdb_status__id = '6' ) AND obj_main.isys_obj__status = '2' ) AND ( (job3.isys_obj__id = '26661' ) )
 ORDER BY job3.isys_obj__title DESC