SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd796c7d629712dc598aa119283e1300122ad5074fbd80b2107c0be4ed9e7519' 
  AND token = 'OfKLAEH9f3wA9jd756iViY9cMLDeEZEJsZ03kdrGHW0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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