SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a6315ed8dbd6780c301b6fdc57c27f3d4bde2cd3e5c6f1d14c8ce279037cf6b' 
  AND token = 'a899mSoDx57bKVEMMdh8tkI88Zu6y051vIv2jh6czCA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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