mysql error: Deadlock found when trying to get lock; try restarting transaction

REPLACE INTO weekly_keyword_hits (hash_id, hits) VALUES(30427, 1013);