SELECT url FROM vanity_urls WHERE slug='αλιευτικα-σκαφη' ORDER BY id DESC LIMIT 1
SELECT product_id FROM products_slugs WHERE slug LIKE '%αλιευτικα-σκαφη%' ORDER BY product_id DESC LIMIT 1
SELECT hash FROM layout_hashes WHERE file_name="αλιευτικα-σκαφη"
SELECT file_name, hash FROM layout_hashes WHERE file_name IN ('header', 'left', 'right', 'footer', 'αλιευτικα-σκαφη', 'header-αλιευτικα-σκαφη')
INSERT INTO layout_hashes (file_name, hash) VALUES ,
('header', '4fad64d492ceabd87c8d028649b06'),
('left', 'e29218fe2ca1c28aaaf2a4d67d1ed17'),
('right', 'd41d8cd98f00b204e9800998ecf8427e'),
('footer', '4bea61909cabdf04c18990d2d90c') ON DUPLICATE KEY UPDATE hash=VALUES(hash)