SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c252bd5804f1f868c6f5e938924a5b169484ecafc8b8644161ab34a956909c32' 
  AND token = '3tr417CdbVFKEUtK9Fb5/K5/ZGPPLLe+q53bCqsUz+U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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