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

Query time 0.00019

JSON explain

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