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

Query time 0.00040

JSON explain

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