SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '259f47c5fca4e2b11f71da62d95dfd89ee5784af42cf746c10fcf9e2af88d5cb' 
  AND token = 'a9aDaGTR3ArRvY6fCsdFES4idw7LKd85ee4pIblA//A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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