SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b166fbb71f395e079ded4bafa9222d69701cfdd230f657d9b76166b52107534e' 
  AND token = 'lO9Xn65Zix984wC2QihYtZzryMWl5WZQf0/B9BJggY0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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