SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f3328a9fd7383c18294b9d2e7991dc89cbd81de3ab28ef8f7edc86a8a29c7e6' 
  AND token = 'DfMYRFATCB/Ew0AZKgbz+qTwy0v4kyCA5wl1+fPazE8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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