Optimized GET_LAST_EXECUTION query