SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1ede96aa1b5c80703e46d899278ee3cd33e4732bda2930b03a75d6d2b5295b4' 
  AND token = 'TsBrvFKbqTCN3zw94OwDgtY06lNIIjHLDYYL3DHJgUA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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