Использую такой запрос
DELETE FROM user_todo_send WHERE id_user IN (SELECT uts.id_user FROM user_todo_send uts INNER JOIN todo ON todo.id = uts.id_todo WHERE TIMESTAMPDIFF(second, NOW(), todo.time_created) > uts.time )
Получаю ошибку в ответ - You can't specify target table 'user_todo_send' for update in FROM clause