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

Query time 0.00042

JSON explain

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