SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e0463a4628e08133d74248df8b2de956fefe97c62cc4d318983e3929cb95ef6e' 
  AND token = '7+fOlngr03BucboxlCQT3/H3w2Ub4+l01zKyGPf3+js=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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