SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02b79a0c6af5d81081d63eb7ecd317dfb193e5b8b9d84c0c1b53d2ee15191496' 
  AND token = 'gFvZrFZN8f3vZxF0FXmtg9lXBWa3rk6M+sf496k3wAU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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