SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ec3466661c89efbafdc6b0bebbad7dcf40957abd0caa424fae647e71a6deef7' 
  AND token = 'ZeO6wRTSl7Ap3cGPLsMzvIOHHN7ekhx+VS31i9tySXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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