SELECT url FROM vanity_urls WHERE slug='σκαφη-nikita' ORDER BY id DESC LIMIT 1

SELECT product_id FROM products_slugs WHERE slug LIKE '%σκαφη-nikita%' ORDER BY product_id DESC LIMIT 1

SELECT hash FROM layout_hashes WHERE file_name="σκαφη-nikita"

SELECT file_name, hash FROM layout_hashes WHERE file_name IN ('header', 'left', 'right', 'footer', 'σκαφη-nikita', 'header-σκαφη-nikita')

INSERT INTO layout_hashes (file_name, hash) VALUES , ('header', '7e1033948a883a20c7fbd202294665f8'), ('left', 'e29218fe2ca1c28a3aaf2a4d67d1ed17'), ('right', 'd41d8cd98f00b204e9800998ecf8427e'), ('footer', 'eb265aa37784bd846805b228f5ec2a49') ON DUPLICATE KEY UPDATE hash=VALUES(hash)