SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d1ed9a2c968b41c1e473d7db16e2d4da9e2eb6b1754debeb65fc882f1b8fafa' 
  AND token = 'vgOKCk7PqYi7AH22UFVa6KpLvhkhUqTXtTQPWoBy9sU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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