SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f97c8d4d914623fde95041f87f043a9bb505a5ff99003c3a280917ae140b093f' 
  AND token = 'esJi6gm1JHG5Nm3KY/9yTxak6Nld8dhvsDOBsLrXu4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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