SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '629a10a23aa1c2b1b5a161b73cd54d3d17a338b74f4b430f29e1b4a73f0321fc' 
  AND token = 'Fbi2EWOkCD6DMkvFKYqeUVIrDYlA8FtAsf0J5P16l9g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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