select
    id,
--     vms_id,
    page_id,
    components.data as data
--     ,status
from
    main.components
where
    vms_id = ?
    and is_current = true
    and status = true;
