SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9ca29bf9aa58b5cf4ad79bd1f2b960a1a6e1e65960bfec1ba2764401b9cdeff' 
  AND token = 'wSDTQx7TdyqH34b3u+EnLsUEoihvCb3QHUO5gRrguGQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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