CREATE INDEX idx_bodega_system_lock_el
    ON nota_bodega (alta_db, system_lock_el);

CREATE INDEX idx_bodega_system_lock
    ON nota_bodega (system_lock);