SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '858f283f1e43768259b4da0d33da68312c5002d5651f0278d0c16a8594dbd629' 
  AND token = 'uxNKX6k8BnU7vtsQbFVutybOdp32azvpomviAkMT1M0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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