Неверный запрос
SELECT id FROM sizes WHERE url LIKE 'lien'a_king_1835_3.html' limit 1