You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Спартак"")' at line 6:
SELECT
id_word
FROM
articles_keywords
WHERE
word IN ("Матч СКА – "Спартак"")