SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b479a207f8a70b4bb6890cdb9bd953e3a5762294203cc8440f24d635831c074' 
  AND token = 'BKZhsszdipnyrxD6BDzfOT578LNxewCY8y/c6NksyrI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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