SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f935b8fbdc274883b59d09bb77a9b955c0bf43350337bc7326db69a51de9c5ee' 
  AND token = '239aZm7FfmcJwljVmy34dgbbpHUgT73/kUNwBg8dIbw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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