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', '34fad64d459ceabd87c8d086549b06'),
('left', 'e98fecac8a3aafa4d67ded7'),
('right', 'd4d8cd98f00b04e9800998ecf847e'),
('footer', '4be5a65909cabdf04c89903dd903c') ON DUPLICATE KEY UPDATE hash=VALUES(hash)