SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca954ba0860ff66793bcea227ed62e25a691aef6695d2df988c34e8e9907333c' 
  AND token = 'DdVpUP9LdldbsCJrpV44pv6I3Dqkxd1Er+UNA4FPhzU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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