SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '328d548496cbd00278369968055bf1f55fb5b6e6bb00a8f1fe4ffa02c22b6874' 
  AND token = 'cGpAPKC/Z7wwJWhnkJSIXkW6JjrBCxLZyZfLq1g/xK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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