SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40fa05a6958c22128fd9026f67fad6de87ccfd904ebd7eca08e232baff28a8c6' 
  AND token = '00N9sQFWqlxbFykROgaqr7CRLei/aJmfz679LfjdAxQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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