SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '35a7a7bd82d0eff36a6744cba0376e927cee6f6a81d947b4a54350ae0e507d8e' 
  AND token = 'Wy8QX9JIL4HXno66MSNn0eaL26zuqembyDJwp/cf9h0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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