SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc248f0c20ba90c5b1119d673a4532bfa2089339bac9f23092210335b4841818' 
  AND token = 'Mos4bKAZaayrjZ1zlxv/ZGw49UpnSaCcsny+IGxltGY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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