SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d5b5220e95fc18290846fec306fc0d407af378f248f88ff5fbdf6b869bfa345' 
  AND token = 'gE4lfPKHLvPIhIOrPMB2EclHhQioFyRdS3k6etvtCyo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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