SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8117f35013e7b5080576284656a7e982c420cce39fdbfad3520886a4ff399376' 
  AND token = '9KT8mJkHbLbalJX7ILACIYUSlBsgtEImH5lq/iV55ys=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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