SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '29cd3ad9b9d516175c7a017db46b5765d2a4520df505511210b4bd7ca152fe72' 
  AND token = 'p/clD6VsgRuHkkdgyU5S9yIZG9znvIPDCHixtDifqC4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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