SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d1c34f3ca25c85a4bb6164074ee17d40e7beb77cfe2a253cb0340c2e5dfa03f' 
  AND token = 'gYGJyKY6ficqSkyhFh3nbmIKr8WNSA2lfVaUwN4SWMg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}